summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliot Rushton <erushton@gitlab.com>2019-07-09 21:10:17 +0000
committerElliot Rushton <erushton@gitlab.com>2019-07-09 21:10:17 +0000
commite2ec9b0fe4d60378931eecaa53b7d7b045586afe (patch)
tree10a7637320bc4438b582174189ed32602ec9b645
parent91c99189174dcf72f8f85eac6d719cf78d511126 (diff)
downloadgitlab-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.rb2
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?)