Created
July 7, 2012 05:06
-
-
Save treeder/3064835 to your computer and use it in GitHub Desktop.
Delayed job on IronMQ Blog Post
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Delayed::Worker.configure do |config| | |
| # optional params: | |
| # config.available_priorities = [-1,0,1,2] # Default is [0]. Please note, each new priority will speed down a bit picking job from queue | |
| # config.queue_name = 'default' # Specify an alternative queue name | |
| # config.delay = 0 # Time to wait before message will be available on the queue | |
| # config.timeout = 5.minutes # The time in seconds to wait after message is taken off the queue, before it is put back on. Delete before :timeout to ensure it does not go back on the queue. | |
| # config.expires_in = 7.days # After this time, message will be automatically removed from the queue. | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| gem 'delayed_job_ironmq' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment