diff options
author | Robert Speicher <rspeicher@gmail.com> | 2016-04-11 15:38:36 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-04-12 11:12:05 -0400 |
commit | cba2c437e582dd5880ec45cc4ff2fccda2315ad5 (patch) | |
tree | 4a4bcd5348ac6404dcc64e60ce31b8b8fffc9c52 /config/initializers | |
parent | 7998725e3c2557c04ceece028dd73a316a3a746c (diff) | |
download | gitlab-ce-cba2c437e582dd5880ec45cc4ff2fccda2315ad5.tar.gz |
Move RepositoryArchiveCacheWorker to sidekiq-cronrs-archive-cache-worker-cron
Closes #15105
Diffstat (limited to 'config/initializers')
-rw-r--r-- | config/initializers/1_settings.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/initializers/1_settings.rb b/config/initializers/1_settings.rb index 72c4d8d61ce..ca74349e85d 100644 --- a/config/initializers/1_settings.rb +++ b/config/initializers/1_settings.rb @@ -239,6 +239,9 @@ Settings['cron_jobs'] ||= Settingslogic.new({}) Settings.cron_jobs['stuck_ci_builds_worker'] ||= Settingslogic.new({}) Settings.cron_jobs['stuck_ci_builds_worker']['cron'] ||= '0 0 * * *' Settings.cron_jobs['stuck_ci_builds_worker']['job_class'] = 'StuckCiBuildsWorker' +Settings.cron_jobs['repository_archive_cache_worker'] ||= Settingslogic.new({}) +Settings.cron_jobs['repository_archive_cache_worker']['cron'] ||= '0 * * * *' +Settings.cron_jobs['repository_archive_cache_worker']['job_class'] = 'RepositoryArchiveCacheWorker' # |