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

RangeError: Too many elements passed to Promise.all #14

Open
chrisabrams opened this issue Jan 2, 2022 · 1 comment
Open

RangeError: Too many elements passed to Promise.all #14

chrisabrams opened this issue Jan 2, 2022 · 1 comment

Comments

@chrisabrams
Copy link

Your readme excited me because it says, I use it with tens of thousands of jobs on the queue. However, I tried adding 10,400 items to the queue and got RangeError: Too many elements passed to Promise.all. I am using the 1.2 syntax (second example in your README). Is there a different approach required for larger queues?

@mmomtchev
Copy link
Owner

Can you post your code? Are you calling flush()?
I am routinely using it with more than 100,000 jobs and normally the limit for Promise.all is 2^21 which is much more than 10,400.

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

No branches or pull requests

2 participants