diff options
author | Shinya Maeda <shinya@gitlab.com> | 2018-05-22 23:04:12 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2018-06-06 17:49:48 +0900 |
commit | c47a434c461c052303ce14c7096dc43add0e52d7 (patch) | |
tree | 98a1aa02fdbe631d72eeb005743195d1d3598151 /config/initializers | |
parent | 3bc2acf58f272bfbde8dcccac2bb98598f3e1716 (diff) | |
download | gitlab-ce-c47a434c461c052303ce14c7096dc43add0e52d7.tar.gz |
Change cron period to per hour
Diffstat (limited to 'config/initializers')
-rw-r--r-- | config/initializers/1_settings.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/1_settings.rb b/config/initializers/1_settings.rb index 057d1457b57..90c45e1b777 100644 --- a/config/initializers/1_settings.rb +++ b/config/initializers/1_settings.rb @@ -290,7 +290,7 @@ Settings.cron_jobs['import_export_project_cleanup_worker'] ||= Settingslogic.new Settings.cron_jobs['import_export_project_cleanup_worker']['cron'] ||= '0 * * * *' Settings.cron_jobs['import_export_project_cleanup_worker']['job_class'] = 'ImportExportProjectCleanupWorker' Settings.cron_jobs['rescue_stale_live_trace_worker'] ||= Settingslogic.new({}) -Settings.cron_jobs['rescue_stale_live_trace_worker']['cron'] ||= '*/12 * * * *' +Settings.cron_jobs['rescue_stale_live_trace_worker']['cron'] ||= '*/1 * * * *' Settings.cron_jobs['rescue_stale_live_trace_worker']['job_class'] = 'RescueStaleLiveTraceWorker' Settings.cron_jobs['requests_profiles_worker'] ||= Settingslogic.new({}) Settings.cron_jobs['requests_profiles_worker']['cron'] ||= '0 0 * * *' |