diff options
author | Qingyu Zhao <qzhao@gitlab.com> | 2019-09-10 22:12:05 +1000 |
---|---|---|
committer | Qingyu Zhao <qzhao@gitlab.com> | 2019-09-11 00:11:54 +1000 |
commit | eeeaebe60813393940751ea9bf81e720b65bf95a (patch) | |
tree | f18bdb920cadcff1c135afe54793913c5a3933a2 /config | |
parent | 5975f55c555330423aab49e7e0d2da2049a39200 (diff) | |
download | gitlab-ce-eeeaebe60813393940751ea9bf81e720b65bf95a.tar.gz |
Change Sidekiq monitor namespace
Move Gitlab::SidekiqMonitor to namespace Gitlab::SidekiqDaemon::Monitor
- Class name and file name change
- File path change to lib/gitlab/sidekiq_daemon/monitor.rb
- Update class usage/reference in other files, including documentation
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/sidekiq.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/sidekiq.rb b/config/initializers/sidekiq.rb index 9f3e104bc2b..20f31ff6810 100644 --- a/config/initializers/sidekiq.rb +++ b/config/initializers/sidekiq.rb @@ -60,7 +60,7 @@ Sidekiq.configure_server do |config| # Sidekiq (e.g. in an initializer). ActiveRecord::Base.clear_all_connections! - Gitlab::SidekiqMonitor.instance.start if enable_sidekiq_monitor + Gitlab::SidekiqDaemon::Monitor.instance.start if enable_sidekiq_monitor end if enable_reliable_fetch? |