Created
June 29, 2018 06:20
-
-
Save Navdevl/418257a1135ec07fe3d0b54769c02a58 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
| # This should go to config/initializers/sidekiq.rb | |
| # Follow this so that you can use the env file safely for dockerizing. | |
| sidekiq_config = { url: ENV['REDIS_SIDEKIQ_URL'] } | |
| Sidekiq.configure_server do |config| | |
| config.redis = sidekiq_config | |
| end | |
| Sidekiq.configure_client do |config| | |
| config.redis = sidekiq_config | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment