-
-
Save rajeshkp/6559460 to your computer and use it in GitHub Desktop.
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
redis_config = { :namespace => 'sidekiq', :url => YAML.load_file("#{Rails.root}/config/redis.yml")[Rails.env] } | |
Sidekiq.configure_server do |config| | |
config.redis = redis_config | |
end | |
Sidekiq.configure_client do |config| | |
config.redis = redis_config | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment