diff options
author | Elliot Rushton <erushton@gitlab.com> | 2019-07-09 21:10:17 +0000 |
---|---|---|
committer | Elliot Rushton <erushton@gitlab.com> | 2019-07-09 21:10:17 +0000 |
commit | e2ec9b0fe4d60378931eecaa53b7d7b045586afe (patch) | |
tree | 10a7637320bc4438b582174189ed32602ec9b645 | |
parent | 91c99189174dcf72f8f85eac6d719cf78d511126 (diff) | |
download | gitlab-ce-add-15m-bucket-for-ci-queue.tar.gz |
15 minutes is actually 900 secondsadd-15m-bucket-for-ci-queue
-rw-r--r-- | app/services/ci/register_job_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/ci/register_job_service.rb b/app/services/ci/register_job_service.rb index 1f1ff017698..9d4cf5df713 100644 --- a/app/services/ci/register_job_service.rb +++ b/app/services/ci/register_job_service.rb @@ -6,7 +6,7 @@ module Ci class RegisterJobService attr_reader :runner - JOB_QUEUE_DURATION_SECONDS_BUCKETS = [1, 3, 10, 30, 60, 300, 1500].freeze + JOB_QUEUE_DURATION_SECONDS_BUCKETS = [1, 3, 10, 30, 60, 300, 900].freeze JOBS_RUNNING_FOR_PROJECT_MAX_BUCKET = 5.freeze Result = Struct.new(:build, :valid?) |