templates/rails_app/config/initializers/sidekiq.rb.tt in railman-0.6.13 vs templates/rails_app/config/initializers/sidekiq.rb.tt in railman-0.6.14

- old
+ new

@@ -1,8 +1,8 @@ require 'sidekiq/scheduler' # Configure Sidekiq Redis connection to use the '<%= @config.app_name %>' namespace -redis_config = { url: 'redis://localhost:6379', namespace: '<%= @config.app_name %>:' } +redis_config = { url: "redis://#{ENV.fetch('REDIS_SERVER')}", namespace: "<%= @config.app_name %>:#{Rails.env}:sidekiq" } Sidekiq.configure_server do |config| config.redis = redis_config #config.on(:startup) do