New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can I change concurrency at runtime? #39
Comments
From the output of your code, this indeed looks like a bug. I'll take a closer look. Thanks for reporting! |
Could you try this: on line 198 of var result = null to var result = { done: false } This seems to fix it on my end. I'm still working on a test so I'm going to hold off on releasing a new version, but it'd be great if you could already try it and let me know if it helps. 🙂 |
It seems to work fine. Thanks for fix! |
Fix released as of v2.5.0. Thanks! |
Hello, @timdp .
I found pool.concurrency(Number) on history issue.
So I try to change the value of concurrency in different places, but did not run as expected.
This is my code:
Can I change concurrency after start and run forever ?
Waiting for your reply, thanks!😃
The text was updated successfully, but these errors were encountered: