const IDLE_NOTIFY_PERIODS_PER_IDLE_TIMEOUT: u32 = 4;Expand description
How many idle reports fit into the Entry’s slot idle timeout at the longest backoff.
On an idle Session the Exit’s reports are the only thing refreshing the Entry’s slot idle timer (the
session cache’s time_to_idle, SessionManagerConfig::idle_timeout). A quarter of it means that with
two lost reports the next still lands a quarter of the timeout before the Entry’s slot expires.
The Entry announces its idle timeout when it opens the Session (see into_initiation_additional_data),
and the cap is a quarter of that. An Entry that announces none, as older releases do, is assumed to use the
Exit’s idle timeout, which bounds the node’s cap (both default to 3 minutes).