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
when going from 0.9.0 to 0.9.2 I noticed the following change: f5d804f
The problem here, is that q.process() is called "q.concurrency" times. But it should suffice to call it Math.min(q.tasks.length, q.concurrency) times.
OK, this is a minor performance problem. But if q.concurrency happens to be Infinity then it actually produces an endless loop. Which it didn't before. Arguably, "concurrency = Infinity" is not a very sensible case.
The text was updated successfully, but these errors were encountered:
Thank you very much!
It lead to a bug in our software, but it was wrong usage of "async" on our side ("concurrency = Infinity" really doesn't make much of a sense).
Hello,
when going from 0.9.0 to 0.9.2 I noticed the following change: f5d804f
The problem here, is that q.process() is called "q.concurrency" times. But it should suffice to call it Math.min(q.tasks.length, q.concurrency) times.
OK, this is a minor performance problem. But if q.concurrency happens to be Infinity then it actually produces an endless loop. Which it didn't before. Arguably, "concurrency = Infinity" is not a very sensible case.
The text was updated successfully, but these errors were encountered: