Skip to main content

Module reaper

Module reaper 

Source
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§

ReaperConfig
Configuration for the session reaper.
SessionReaper
Background session reaper. Runs in its own thread, periodically scanning the coordinator for expired sessions.