Commit d87b2327 authored by Bob Van Landuyt's avatar Bob Van Landuyt

Use client_configurator for initializing Sidekiq

Instead of configuring directly in the initializer.
parent 4e3839d8
......@@ -118,8 +118,5 @@ end
Sidekiq.configure_client do |config|
config.redis = queues_config_hash
config.client_middleware do |chain|
chain.add Gitlab::SidekiqMiddleware::CorrelationInjector
chain.add Gitlab::SidekiqStatus::ClientMiddleware
end
config.client_middleware(&Gitlab::SidekiqMiddleware.client_configurator)
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment