createClient
option in the Queue
constructor.createClient
to do some custom connection logic, you may still need to keep a list of all the connections you created so you can manually close them later when the queue shuts down, if you need a graceful shutdown for your processkeyPrefix
on the connection you create, use bull's built-in prefix feature if you need a key prefix