mirror of
https://github.com/tiennm99/noitu.git
synced 2026-10-19 00:15:08 +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
@@ -186,7 +186,7 @@ Configuration is environment-only; every variable has a working default.
|
||||
|---|---|---|
|
||||
| `NOITU_ADDR` | `:8080` | Listen address |
|
||||
| `NOITU_DB_PATH` | `data/noitu.db` | Derived dictionary, loaded read-only at startup |
|
||||
| `NOITU_TURN_LIMIT` | `20s` | Turn deadline, identical for bot and PvP games |
|
||||
| `NOITU_TURN_LIMIT` | `30s` | Turn deadline, identical for bot and PvP games |
|
||||
| `NOITU_GRACE` | `30s` | How long a disconnected player's seat is held for a reconnect |
|
||||
| `NOITU_ALLOWED_ORIGINS` | *(unset)* | Comma-separated origin allowlist. Unset means same-origin only |
|
||||
| `NOITU_WEB_DIR` | *(unset)* | Built frontend to serve. Unset serves the API alone |
|
||||
|
||||
Reference in new issue
Block a user