Skip to main content

lock_wait

Function lock_wait 

Source
pub fn lock_wait(settings: &Settings) -> LockWait
Expand description

How long a command may sit in a DECLARED wait — a line that says it is blocked on a lock (crate::hooks::wait::marker) — before it is killed, in seconds. greengate.lockWait, default 600; 0 means until the ceiling. The silence clock does not run during such a wait: the tool has said what it is doing, and a lock held by another cargo for a minute on a loaded machine is not a hang (ADR-0009). Read once per Settings.