Skip to main content

idle_timeout_setting

Function idle_timeout_setting 

Source
pub fn idle_timeout_setting() -> IdleTimeoutSetting
Expand description

The thin environment wrapper over parse_idle_timeout_secs.

The variable name is spelled out as a STRING LITERAL here rather than passed as IDLE_TIMEOUT_ENV, and that is deliberate. doc_check::source_read_env_vars recognises a variable only when it is read through a literal inside std::env::var("..."); reading it through the const compiles and works identically but makes the variable INVISIBLE to the operator-doc parity gate, which would then pass green while the variable went undocumented. Verified by removing this variable’s row from OPERATIONS.md and confirming doc_check reddens.