JobQueueOptions.safeLockTtl property

How long, in milliseconds, a job may sit checked out to a worker during safe delivery before it is treated as abandoned.

Signature:

safeLockTtl?: number;

Default Value

10000

Remarks

A worker key still present once this expires is treated as abandoned and its job is moved back onto the queue, so this bounds how long an abandoned hand-off takes to come back. It is not a processing deadline: a job that takes longer than this to handle is neither interrupted nor re-queued.

@imqueue/core's own default is 5000; this package raises it to 10000.

Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.