templates/rails_app/config/initializers/sidekiq.rb.tt in railman-0.2.0 vs templates/rails_app/config/initializers/sidekiq.rb.tt in railman-0.3.0
- old
+ new
@@ -1,8 +1,8 @@
require 'sidekiq/scheduler'
-# Configure Sidekiq Redis connection to use the '<%= app_name %>' namespace
-redis_config = { url: 'redis://localhost:6379', namespace: '<%= app_name %>' }
+# Configure Sidekiq Redis connection to use the '<%= @config.app_name %>' namespace
+redis_config = { url: 'redis://localhost:6379', namespace: '<%= @config.app_name %>:' }
Sidekiq.configure_server do |config|
config.redis = redis_config
#config.on(:startup) do