moved some hardcoded values to config

This commit is contained in:
2021-10-27 10:29:51 +02:00
parent 9019a19369
commit 25b153900f
4 changed files with 41 additions and 11 deletions

View File

@@ -28,4 +28,16 @@ httpd:
listen:
- host: localhost
port: 8000
- socket: /tmp/csgowtf.sock
- socket: /tmp/csgowtf.sock
csgowtfd:
# how often should a profile be refreshed from steam
# more on format: https://pkg.go.dev/time#ParseDuration
# default: 168h (7d)
profile_update: "168h"
# how often should csgowtfd check for a new match
# format same as profile_update
# default: 30m
sharecode_update: "30m"
# days in which demos expire
demos_expire: 30