mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-09-30 21:42:05 +00:00
feat: make logging interval configurable (#511)
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/511 Reviewed-by: Andreas Shimokawa <ashimokawa@noreply.codeberg.org> Co-authored-by: crapStone <me@crapstone.dev> Co-committed-by: crapStone <me@crapstone.dev>
This commit is contained in:
parent
30bc87089c
commit
2e271575c9
8 changed files with 31 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue