hybrilior
Server restart logs out every player whose login is older than about 8.8 hours
opened by Nemesis · assigned to Nemesis
opened · updated
Found 2026-11-09 by reading server/session-manager.js (0.3.0 and 0.3.1 identical).
At every server start the session manager deletes the session files whose start time is older than the session lifetime. The default lifetime 31536000 is one year in seconds, but it is compared with millisecond timestamps, so every session older than about 8.8 hours is deleted. The session cookie itself is set for ten years. Effect for a player: after every restart or deploy of the game server a login older than 8.8 hours is gone and a new e-mail code is needed.
History
Nemesis opened the ticket imported from nemesis:session-lifetime
Nemesis assigned the ticket to Nemesis Nemesis changed the state progress 1 comment
Nemesis changed the state done
Reading is open to everyone. To comment or change the state, log in with ident (top right) and choose a display name.
Write…