diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2017-04-06 11:02:13 +0000 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2017-04-06 11:02:13 +0000 |
commit | 618542949573ddf1636f6e28a72866105d5dbd37 (patch) | |
tree | 1ab6438f86a2dd427e79ee4ad1c42acadf9d247c /config | |
parent | dc20dd1b3d69bfcd503f4dfe1b89f49bf7083844 (diff) | |
parent | 94716c279f35c787d5b41ed626ad9bfc1acf83aa (diff) | |
download | gitlab-ce-618542949573ddf1636f6e28a72866105d5dbd37.tar.gz |
Merge branch 'fix/gh-import-status-check' into 'master'
Periodically mark projects that are stuck in importing as failed
Closes #17709
See merge request !10207
Diffstat (limited to 'config')
-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 e8fef0000c1..f7cae84088e 100644 --- a/config/initializers/1_settings.rb +++ b/config/initializers/1_settings.rb @@ -349,6 +349,9 @@ Settings.cron_jobs['trending_projects_worker']['job_class'] = 'TrendingProjectsW Settings.cron_jobs['remove_unreferenced_lfs_objects_worker'] ||= Settingslogic.new({}) Settings.cron_jobs['remove_unreferenced_lfs_objects_worker']['cron'] ||= '20 0 * * *' Settings.cron_jobs['remove_unreferenced_lfs_objects_worker']['job_class'] = 'RemoveUnreferencedLfsObjectsWorker' +Settings.cron_jobs['stuck_import_jobs_worker'] ||= Settingslogic.new({}) +Settings.cron_jobs['stuck_import_jobs_worker']['cron'] ||= '15 * * * *' +Settings.cron_jobs['stuck_import_jobs_worker']['job_class'] = 'StuckImportJobsWorker' # # GitLab Shell |