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

Enable override the default queue with a :queue option #147

Merged
merged 2 commits into from
Oct 27, 2015

Conversation

bobbrez
Copy link
Contributor

@bobbrez bobbrez commented Oct 22, 2015

While working on a data migation I came across the need to dynamically configure the queue that a job would go to (i.e. high_priority vs low_priority or queueing data from a system singleton into production into staging).

This PR allows a client to configure which queue to send to at the time of queuing the job

MyWorker.perform_async('Pablo', queue: 'new_queue')

@phstc
Copy link
Collaborator

phstc commented Oct 26, 2015

@bobbrez
Copy link
Contributor Author

bobbrez commented Oct 26, 2015

phstc added a commit that referenced this pull request Oct 27, 2015
Enable override the default queue with a :queue option
@phstc phstc merged commit 3d9e11f into ruby-shoryuken:master Oct 27, 2015
phstc pushed a commit that referenced this pull request Oct 27, 2015
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

Successfully merging this pull request may close these issues.

2 participants