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.unsaturated #868

Closed
ecasilla opened this issue Jul 30, 2015 · 1 comment
Closed

async.queue.unsaturated #868

ecasilla opened this issue Jul 30, 2015 · 1 comment

Comments

@ecasilla
Copy link
Contributor

I want to create a pull request for the ability to get notified when my queue has become unsaturated by using the same api as saturated i was thinking some along these lines

if (q.tasks.length <= (q.concurrency - q.buffer) ) {
q.unsaturated();
}
and allow the user once the queue has been created to add there own buffer of have some default number or percentage.. I want to know if this is something the core team is interested in and there not currently working on

ecasilla added a commit to ecasilla/async that referenced this issue Jul 31, 2015
@aearly
Copy link
Collaborator

aearly commented Jan 7, 2016

Closing this to keep the discussion on #869

@aearly aearly closed this as completed Jan 7, 2016
ecasilla added a commit to ecasilla/async that referenced this issue Feb 20, 2016
aearly added a commit that referenced this issue Feb 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants