mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
Idle timeout: reads `sessionIdleTimeoutMinutes` from settings, tracks last activity in Redis (with Postgres fallback on cache miss), and invalidates sessions that exceed the configured idle window. Concurrent session limit: reads `maxSessionsPerUser` from settings and evicts oldest sessions (FIFO) when a new login exceeds the cap. Both features are opt-in (disabled when value is 0 or absent).