Open pavelserbajlo opened 4 years ago
What do you mean with "dummy" redis instance? The idea of reusing connections is to instantiate a valid working redis instance and then use that same one in all the bullmq instances, is not that what you are doing?
Ok, so I have 3 options on how to set up bullmq with redis:
connection
where I can also pass host/port myselfconnection
where I can pass dummy redis instance with my connection paramsclient
with dummy redis instance I have to take care of myselfwith 1) I understand I get no reusability in this scenario with 2) bullmq fails to start with my 12 different queues, queueSchedulers and workers, total of 36 instances needing redis connection (I know, large app). It just hangs on
waitUntilReady()
of 8th instance. with 3) all seems to work, but given all the options here I'm not sure if this is what I should be usingCan anyone chime in on this? Thanks!