DEFAULT_LOCK_TIMEOUT

Constant DEFAULT_LOCK_TIMEOUT 

Source
pub const DEFAULT_LOCK_TIMEOUT: Duration;
Expand description

Default lock timeout duration (2 hours).

Jobs locked for longer than this duration will be considered abandoned and made available for other workers to pick up. This handles cases where a worker crashes or becomes unresponsive while processing a job.