Skip to content

v2.1.0

Choose a tag to compare

@aidanhibbard aidanhibbard released this 31 May 22:32
· 20 commits to main since this release
d32d519

v2.1.0

compare changes

馃殌 Enhancements

  • Set enableOfflineQueue: false on queue connections so producers fail fast when Redis is unavailable (BullMQ recommendation).
  • Log queue and worker error events via consola.
  • Improve stopAll(): returns { ok, errors }, logs close failures, supports { force: true } for worker.close(force).
  • Register Nitro close plugin to call stopAll() when the Nuxt server shuts down.
  • Worker process shutdown: 25s graceful timeout, then force stop; non-zero exit on shutdown failure.

馃摉 Documentation

  • Document StopAllOptions / StopAllResult, producer fail-fast, and Nitro shutdown in docs/api.md and docs/redis.md.

馃И Tests

  • Add specs for close-processor plugin, generateWorkersIndexWrapper, and expanded stopAll / connection behavior.