Skip to content
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

async.queue's task callbacks recursion bug #938

Closed
wants to merge 1 commit into from

Conversation

mystorp
Copy link

@mystorp mystorp commented Oct 22, 2015

async.queue.
once a task finished, the wraped _next call q.process synchronous, when there has many many tasks, these goes to : RangeError: Maximum call stack size exceeded

@aearly
Copy link
Collaborator

aearly commented Oct 22, 2015

Sorry, but we're moving in the other direction. We used to do this, but now we now always assume async task functions in the queue for performance reasons. (#696, and see note here) You'll have to use process.nextTick in your own queue processing function.

@aearly aearly closed this Oct 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants