diff options
Diffstat (limited to 'config/initializers/sidekiq.rb')
-rw-r--r-- | config/initializers/sidekiq.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/config/initializers/sidekiq.rb b/config/initializers/sidekiq.rb index 23052e7ac57..baf252a5d10 100644 --- a/config/initializers/sidekiq.rb +++ b/config/initializers/sidekiq.rb @@ -29,7 +29,6 @@ use_sidekiq_legacy_memory_killer = !use_sidekiq_daemon_memory_killer Sidekiq.configure_server do |config| config.options[:strict] = false config.options[:queues] = Gitlab::SidekiqConfig.expand_queues(config.options[:queues]) - config.options[:scheduled_enq] = Gitlab::SidekiqEnq Sidekiq.logger.info "Listening on queues #{config.options[:queues].uniq.sort}" @@ -115,5 +114,5 @@ Sidekiq.configure_client do |config| config.client_middleware(&Gitlab::SidekiqMiddleware.client_configurator) end -Sidekiq::Client.prepend Gitlab::Patch::SidekiqClient -Sidekiq::Cron::Poller.prepend Gitlab::Patch::SidekiqCronPoller +Sidekiq::Scheduled::Poller.prepend Gitlab::Patch::SidekiqPoller +Sidekiq::Cron::Poller.prepend Gitlab::Patch::SidekiqPoller |