Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
a4e996d7
Commit
a4e996d7
authored
Feb 07, 2017
by
Tomasz Maczukin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update default configuration of stuck_ci_builds_worker cron interval
parent
8d1cdc94
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
changelogs/unreleased/27523-make-stuck-build-detection-more-performant.yml
...ased/27523-make-stuck-build-detection-more-performant.yml
+4
-0
config/gitlab.yml.example
config/gitlab.yml.example
+1
-1
config/initializers/1_settings.rb
config/initializers/1_settings.rb
+1
-1
No files found.
changelogs/unreleased/27523-make-stuck-build-detection-more-performant.yml
0 → 100644
View file @
a4e996d7
---
title
:
Make stuck builds detection more performant
merge_request
:
9025
author
:
config/gitlab.yml.example
View file @
a4e996d7
...
...
@@ -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 * * * *"
...
...
config/initializers/1_settings.rb
View file @
a4e996d7
...
...
@@ -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 * * * *'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment