Skip to content

Instantly share code, notes, and snippets.

@jugyo
Last active December 13, 2015 21:39
Show Gist options
  • Save jugyo/4979132 to your computer and use it in GitHub Desktop.
Save jugyo/4979132 to your computer and use it in GitHub Desktop.
Example of Sidekiq with Rails
worker: RAILS_ENV=production bundle exec sidekiq -C config/sidekiq.yml
# config/initializers/sidekiq.rb
Sidekiq.options.merge!(YAML.load_file(Rails.root.join('config/sidekiq.yml')))
# config/sidekiq.yml
---
:namespace: app
:concurrency: 4
@jugyo
Copy link
Author

jugyo commented Feb 28, 2013

It's to use in rails app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment