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

add optional per-queue environment value #47

Open
bwlewis opened this issue Jun 30, 2017 · 0 comments
Open

add optional per-queue environment value #47

bwlewis opened this issue Jun 30, 2017 · 0 comments

Comments

@bwlewis
Copy link
Owner

bwlewis commented Jun 30, 2017

Per-job, foreach shared values (either automatically exported or explicitly exported with .export=...) are guaranteed to be on the workers and only copied once to them even if they take multiple tasks for a given job. This is accomplished by doRedis with a single shared per-job key/value.

We could similarly add a global per-queue shared key/value containing whatever stuff you want guaranteed to be on each worker connected to a given queue. This should be easy to add.

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

1 participant