Skip to main content

STALE_LOCK_AGE

Constant STALE_LOCK_AGE 

Source
pub const STALE_LOCK_AGE: Duration;
Expand description

How long a <path>.lock may sit untouched before it is presumed left behind by a crashed process and force-broken. Real lock holders finish in microseconds at these file sizes, so 30s is conservative.