Replies: 9 comments 9 replies
-
Do you have some code (simple) that exhibits this issue? |
Beta Was this translation helpful? Give feedback.
-
@manast yes! Here you go:
Just doing Doing about 3000 request in 2 hours All while sitting idle and after running the There must be a way or configuration that I am missing to get the absurd |
Beta Was this translation helpful? Give feedback.
-
I run the script using a local Redis instance and nothing special happens. However I see 2 major issues in your code, 1. it seems like you are using stash. Stash is not compatible with Bull. 2. You are using a processor function with async AND done, you must use either async or done, not both. |
Beta Was this translation helpful? Give feedback.
-
I see... I believe I was misguided in terms of the use of I will try with another The reason I had
is because I had some methods I call inside the If I use |
Beta Was this translation helpful? Give feedback.
-
Hi @manast! I have switched over to When investigating with Is there a way to reduce the number of It's too much. My idea and use case is to just not have (or very little amount) of requests made to Also I see there are no |
Beta Was this translation helpful? Give feedback.
-
Hello! I just started using BullMQ and got the exact same issue. I have 1 worker with I'm also afraid of the cost once you start scaling to more Workers and using Upstash |
Beta Was this translation helpful? Give feedback.
-
After this PR it will be possible to use a larger drainDelay setting: taskforcesh/bullmq#2514 |
Beta Was this translation helpful? Give feedback.
-
Did you find out any answer for this? |
Beta Was this translation helpful? Give feedback.
-
We have same issues, bullmq makes a lot of calls to redis resulting in 100% cpu usage. |
Beta Was this translation helpful? Give feedback.
-
I have a single queue that I have been testing with
Bull
and upon deploying the script I checked myRedis
usage after thejob
was completed and it just kept going up and up.Redis
-Queue
requests ?requests
and what parameters are needed ?Beta Was this translation helpful? Give feedback.
All reactions