feat(server): give each turn 30 seconds by default

NOITU_TURN_LIMIT still overrides it; the docs follow.
This commit is contained in:
tiennm99 committed 2026-09-08 17:18:34 +07:00
1 parent ff5627336d
commit 805cbca39b
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -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