asap icon indicating copy to clipboard operation
asap copied to clipboard

function to change rawAsap.capacity value must be added

Open zamuka opened this issue 10 years ago • 3 comments

When I handle thousands of promises at the same time I'm getting an error from asap module : asap\asap.js:40 this.task.call(); ^ TypeError: Cannot read property 'call' of null

If i increase the "capacity" value in rawAsap module - errors are gone. So having a Function for changing asap capacity will be useful.

zamuka avatar Feb 17 '15 09:02 zamuka

The capacity should be adaptive. Thank you for reporting. If you have a chance to write a test that reproduces the problem, I’d be grateful.

kriskowal avatar Feb 17 '15 16:02 kriskowal

This is a duplicate of https://github.com/kriskowal/asap/issues/55 which was fixed.

Macil avatar Aug 21 '15 06:08 Macil

As @AgentME already noted, this seems duplicate of #55.

rkatic avatar Aug 22 '15 20:08 rkatic