Automattic / kue

Kue is a priority job queue backed by redis, built for node.js.
http://automattic.github.io/kue
MIT License
9.45k stars 862 forks source link

Why createQueue a singleton? #1124

Closed sudhirbitsgoa closed 6 years ago

sudhirbitsgoa commented 6 years ago

Why kue does not support multiple queues creation unlike other queuing systems.

behrad commented 6 years ago

This has been historically made by the very first writer of Kue, which can be changed in future versions. Also note that, creating multiple instances of a Queue means connecting to different Redis stores or using different config options.