Skip to main content

START_GRACE_MS

Constant START_GRACE_MS 

Source
pub const START_GRACE_MS: i64 = 3_000;
Expand description

How long a job queued with no worker is given before it counts as abandoned. A worker writes its pid as soon as it holds the job, which it does within milliseconds of starting, so this is generous rather than tuned.