Replies: 1 comment 12 replies
-
I am not sure I understand the question, because just stating the obvious and what you said yourself, you control the number of workers with pm2 and the concurrency per worker with the concurrency option... |
Beta Was this translation helpful? Give feedback.
12 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
1 node instance, this code works fine.
But I start 8 instances with PM2 and actually the concurrency will become 40.
How can I control concurrency under multiple instances of PM2?
Minimal, Working Test code to reproduce the issue.
(An easy to reproduce test case will dramatically decrease the resolution time.)
Bull version
Additional information
Beta Was this translation helpful? Give feedback.
All reactions