authentication { realm = "messenger" sessionTtlSeconds = 3600 sessionCacheTtlSeconds = 60 # Collapse concurrent cache misses for one token into a single database lookup sessionCacheSingleFlight = true # A logout answers 204 only after its tombstone is in Redis; retries up to this long, then 503 sessionRevokeTimeoutMs = 8000 }