Skip to main content

SESSION_RECHECK

Constant SESSION_RECHECK 

Source
pub const SESSION_RECHECK: Duration;
Expand description

The longest a stream waits before it re-checks its session, however far off the expiry is. Tokio’s clock is monotonic and does not count time the machine is suspended, so a sleep until the expiry could wake long after it: a laptop asleep for a week would keep a stream past its session.