You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to configure the Master server to watch only specific jobs on a shared mongodb queue from multiple apps so that you can have multiple master servers doing different things?
The text was updated successfully, but these errors were encountered:
I did check out all of the README and was thinking that I could just define a unique taskmap for each Master and they wont try run each others jobs but looking at the code I think this change might get the functionality working, what do you think?
In the taskQueue.js where it pulls the jobs from the mongodb this.pull
adding the mongodb query filter to only return the tasks that are found inside the taskMap
Yes that's exactly what I had in mind ☺️ but I'd like to avoid underscorejs
/ lodash, so just use `Object.keys` instead of _.pluck.
If you want you can make a pull request :)
Is there a way to configure the Master server to watch only specific jobs on a shared mongodb queue from multiple apps so that you can have multiple master servers doing different things?
The text was updated successfully, but these errors were encountered: