1
0
Fork 0
mirror of https://codeberg.org/Codeberg/pages-server.git synced 2025-10-03 21:50:45 +00:00

feat: make logging interval configurable

This commit is contained in:
crapStone 2025-09-08 16:36:11 +02:00
parent 30bc87089c
commit 373044f289
No known key found for this signature in database
GPG key ID: 22D4BF0CF7CC29C8
5 changed files with 25 additions and 2 deletions

View file

@ -16,6 +16,7 @@ type ServerConfig struct {
UseProxyProtocol bool `default:"false"`
LogMostActiveIps bool `default:"false"`
MostActiveIpCount uint `default:"10"`
LoggingInterval uint `default:"0"`
MainDomain string
RawDomain string
PagesBranches []string