Skip to main content

idle_timeout

Function idle_timeout 

Source
pub fn idle_timeout(settings: &Settings) -> u64
Expand description

The SILENCE budget: how long a spawned command may go without writing a byte before it is judged stuck, in seconds.

greengate.idleTimeout, default 120. A hang is silent; a slow test suite talks — cargo test prints a line per test. Not every one does (vitest without a terminal prints only its summary), so where CPU can be measured the budget counts silence AND an idle process tree — see Activity and ADR-0008. Killing on silence catches the captive portal, the deadlocked lock file and the tool waiting on a prompt nobody will answer FASTER than a ten-minute wall clock did, while letting a chatty twenty-five-minute suite finish. Only applies where the output is observed (the captured runners); a command inheriting the terminal directly answers to the ceiling alone. 0 disables.