discourse/config/initializers/sidekiq.rb
2013-05-29 09:36:15 -07:00

6 lines
230 B
Ruby

sidekiq_redis = { url: $redis.url, namespace: 'sidekiq' }
Sidekiq.configure_server { |config| config.redis = sidekiq_redis }
Sidekiq.configure_client { |config| config.redis = sidekiq_redis }
Sidekiq.logger.level = Logger::WARN