mirror of
https://github.com/tiennm99/noitu.git
synced 2026-10-13 22:16:20 +00:00
feat(server): give each turn 30 seconds by default
NOITU_TURN_LIMIT still overrides it; the docs follow.
This commit is contained in:
1 parent
ff5627336d
commit
805cbca39b
3 files changed
+4
-4
No files matched your search
@@ -20,7 +20,7 @@ import (
|
||||
const (
|
||||
defaultAddr = ":8080"
|
||||
defaultDBPath = "data/noitu.db"
|
||||
defaultTurnLimit = 20 * time.Second
|
||||
defaultTurnLimit = 30 * time.Second
|
||||
defaultGrace = 30 * time.Second
|
||||
|
||||
// shutdownGrace bounds how long in-flight requests get once a signal
|
||||
|
||||
Reference in new issue
Block a user