diff options
author | Elliot Rushton <erushton@gitlab.com> | 2019-09-11 15:37:25 +0300 |
---|---|---|
committer | Kamil TrzciĆski <ayufan@ayufan.eu> | 2019-09-11 15:37:25 +0300 |
commit | 69722bcb334a07f95669f4060804957ca999de94 (patch) | |
tree | 83ebbf7a40b9a0bbf2ec5d2cdb95c755d5844542 /app/services | |
parent | f2321d0bf090851aa65c23e8d2dd78498da0e867 (diff) |
Add 30 and 60 minute buckets
Diffstat (limited to 'app/services')
-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 9d4cf5df713..21055ad6617 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, 900].freeze + JOB_QUEUE_DURATION_SECONDS_BUCKETS = [1, 3, 10, 30, 60, 300, 900, 1800, 3600].freeze JOBS_RUNNING_FOR_PROJECT_MAX_BUCKET = 5.freeze Result = Struct.new(:build, :valid?) |