Sidekiq.configure_server do |config| config.redis = { url: $redis.url, namespace: 'sidekiq' } end Sidekiq.configure_client do |config| config.redis = { url: $redis.url, namespace: 'sidekiq' } end