Defaults to remove servers older than 3 days now (instead of 7)
This commit is contained in:
parent
8771271fde
commit
64379d647d
3
main.go
3
main.go
@ -14,7 +14,8 @@ const (
|
|||||||
// Used internally for logging a global # of players
|
// Used internally for logging a global # of players
|
||||||
internalServerTitle string = "_ss13.se"
|
internalServerTitle string = "_ss13.se"
|
||||||
|
|
||||||
oldServerTimeout = 24 * 7 // in hours
|
// How old a server entry can get, without updates, before it get's deleted
|
||||||
|
oldServerTimeout = 24 * 3 // in hours
|
||||||
)
|
)
|
||||||
|
|
||||||
type Conf struct {
|
type Conf struct {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user