Skip to content

Queue Runtime and Lifecycle Fixes

Choose a tag to compare

@github-actions github-actions released this 08 Mar 14:34
· 5 commits to 0.x since this release

Updating @boringnode/queue to its latest version.

See https://github.com/boringnode/queue/releases/tag/v0.5.0


Breaking Changes

QueueManager.getMergedRetryConfig(), QueueManager.getMergedJobOptions(), and QueueManager.getWorkerTimeout() have been removed from the public API.

Effective runtime configuration is now resolved through QueueManager.getConfigResolver(). The merge precedence is unchanged.

Worker.stop() also no longer destroys the underlying adapter instance.

Stopping a worker now only:

  • stops pulling new jobs
  • waits for in-flight jobs to finish
  • removes shutdown handlers

Adapter cleanup is now owned by QueueManager.destroy().