You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have some code which is firing off promises on an "ad-hoc" basis. I need to limit how many are actually executing at the same time (else too many open network connections, etc.)
Using p-limit it never fires a promise if it comes in whilst all concurrent capacity is in-use.
I have some code which is firing off promises on an "ad-hoc" basis. I need to limit how many are actually executing at the same time (else too many open network connections, etc.)
Using p-limit it never fires a promise if it comes in whilst all concurrent capacity is in-use.
A quick demo of this issue:
I would expect to see output of:
etc.
But instead I see:
It looks like the functions called when the pool is busy never execute?
The text was updated successfully, but these errors were encountered: