save and restore server stats on restart (#460)

This commit is contained in:
Evgeny Poberezkin
2022-07-04 10:45:35 +01:00
committed by GitHub
parent 4c0164c49e
commit bc26dc1d68
7 changed files with 171 additions and 39 deletions
+1
View File
@@ -103,6 +103,7 @@ smpServerCLIConfig =
else Nothing,
logStatsInterval = Just 86400, -- seconds
logStatsStartTime = 0, -- seconds from 00:00 UTC
serverStatsFile = Just $ combine logPath "smp-server-stats.log",
smpServerVRange = supportedSMPServerVRange
}
}