Files
mtusi2026lab4/run/_template/config/authentication.conf
T
2026-11-04 22:57:50 +03:00

10 lines
342 B
Plaintext

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
}