Skip to content

Instantly share code, notes, and snippets.

@typeoneerror
Created January 4, 2017 16:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save typeoneerror/2edc3e42e81b081b7aa6bdfa5a04a13e to your computer and use it in GitHub Desktop.
Save typeoneerror/2edc3e42e81b081b7aa6bdfa5a04a13e to your computer and use it in GitHub Desktop.
require 'sidekiq/web'
redis_options = { url: ENV['REDIS_URL'] }
Sidekiq.configure_server do |config|
config.redis = redis_options
end
Sidekiq.configure_client do |config|
config.redis = redis_options
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment