mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-18 03:25:31 -05:00
10 lines
260 B
Ruby
10 lines
260 B
Ruby
sidekiq_redis = { url: $redis.url, namespace: 'sidekiq' }
|
|
|
|
Sidekiq.configure_server do |config|
|
|
config.redis = sidekiq_redis
|
|
Sidetiq::Clock.start!
|
|
end
|
|
|
|
Sidekiq.configure_client { |config| config.redis = sidekiq_redis }
|
|
|
|
Sidekiq.logger.level = Logger::WARN
|