Commit a4e996d7 authored by Tomasz Maczukin's avatar Tomasz Maczukin

Update default configuration of stuck_ci_builds_worker cron interval

parent 8d1cdc94
---
title: Make stuck builds detection more performant
merge_request: 9025
author:
......@@ -179,7 +179,7 @@ production: &base
cron_jobs:
# Flag stuck CI builds as failed
stuck_ci_builds_worker:
cron: "0 0 * * *"
cron: "0 * * * *"
# Remove expired build artifacts
expire_build_artifacts_worker:
cron: "50 * * * *"
......
......@@ -309,7 +309,7 @@ Settings.gravatar['host'] = Settings.host_without_www(Settings.gravatar[
#
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']['cron'] ||= '0 * * * *'
Settings.cron_jobs['stuck_ci_builds_worker']['job_class'] = 'StuckCiBuildsWorker'
Settings.cron_jobs['expire_build_artifacts_worker'] ||= Settingslogic.new({})
Settings.cron_jobs['expire_build_artifacts_worker']['cron'] ||= '50 * * * *'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment