Rate limiting with flows #1589
Unanswered
aravindabose06
asked this question in
Q&A
Replies: 1 comment 2 replies
-
You are not providing a lot of code so it is quite difficult to give any reasonable answer 🤔 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have been using the flows for a while, and recently updated the package version to the v3.4.1.
Now I'm having trouble using rate limiter with flows.
Here is the worker options for the child queue.
Even though it is set to process 300 jobs per second, it is not processing that way. It is processing the jobs like the limiter is dynamically increasing starting from 2.
Eg., it is taking 2 jobs initially, once they gets completed, the next 3 jobs are processed, and then 4 and so on.
And we are not using the worker's
rateLimit
function too. For the simplicity to test this. I just added a sleep in the processor and nothing else.Am I missing something here?. Is something else need to be configured?.
Any advice on this would be really helpful!
Thanks :)
Beta Was this translation helpful? Give feedback.
All reactions