pub const MAX_TTL_HOURS: u64 = _ /* 8_760u64 */;
A year. A login that outlives the process is pointless — sessions live in memory — and a typo like session_ttl_hours = 999999 should not mint a cookie that never expires.
session_ttl_hours = 999999