Replies: 1 comment 4 replies
-
I am having this same error message popup, but it seemingly is showing despite my code not changing for 6+ months. Did you figure this out any further @officert ? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My previous setup with BullMQ was to instantiate a new Worker instance per type of job I was trying to run. For example job 1: send email, job 2: process image, etc...
So a single Node process would end up instantiating a lot of Worker instances (around 30). Eventually I started to see some strange Redis errors like
In reading the docs more closely it seems this is the wrong way to use Bull MQ and instead we should be creating a single Worker instance per Node process and have the 1 worker's job handler do a big switch statement.
Am I understanding things correctly? Does it ever make sense to have more than one instance of Worker per Node process?
Beta Was this translation helpful? Give feedback.
All reactions