Cancels all tracked jobs by aborting their signals.
Optionalreason: stringOptional reason for the cancellation
Cancels a specific job by aborting its signal.
The ID of the job to cancel
Optionalreason: stringOptional reason for the cancellation
true if the job was found and cancelled, false otherwise
Stops the lock manager and clears all timers.
Gets the number of jobs currently being tracked.
Gets a list of all tracked job IDs.
Array of job IDs currently being tracked
Checks if the lock manager is running.
Starts the lock manager timers for lock renewal.
Adds a job to be tracked for lock renewal. Returns an AbortController if shouldCreateController is true, undefined otherwise.
Removes a job from lock renewal tracking.
Manages lock renewal for BullMQ workers. It periodically extends locks for active jobs to prevent them from being considered stalled by other workers.