Expand description
Session reaper — background thread that expires stale sessions.
Sessions have an unlock window (default 4 hours). After it elapses, the session transitions to Expired, fires an audit event, and decrements the active session counter. Without reaping, stale sessions accumulate indefinitely.
Structs§
- Reaper
Config - Configuration for the session reaper.
- Session
Reaper - Background session reaper. Runs in its own thread, periodically scanning the coordinator for expired sessions.