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

Cluster #5

Open
touch100 opened this issue Aug 5, 2019 · 3 comments
Open

Cluster #5

touch100 opened this issue Aug 5, 2019 · 3 comments

Comments

@touch100
Copy link

touch100 commented Aug 5, 2019

Would it work in a NodeJs cluster?

@energizer91
Copy link
Owner

Hello there!
To be honest, I didn't test it with cluster, but i have a project which is working on child_process which is pretty much the same.
Yes, it works, but be ready that child processes will not share queue with master process. There is a potential option to store queue somewhere not in memory (in db for example) so queue can be shared between threads, but at current release there is no such functionality, unfortunately.

@touch100
Copy link
Author

touch100 commented Aug 6, 2019 via email

@energizer91
Copy link
Owner

Thank you so much! Me myself is using it in Telegram chatbot and it works like a charm

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