Add 60s & 5m monitor buckets for CI queues

This commit is contained in:
Elliot Rushton 2019-05-21 19:00:22 +00:00 committed by erushton
parent 98cdeed44c
commit 77d5516d1a
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ module Ci
class RegisterJobService
attr_reader :runner
JOB_QUEUE_DURATION_SECONDS_BUCKETS = [1, 3, 10, 30].freeze
JOB_QUEUE_DURATION_SECONDS_BUCKETS = [1, 3, 10, 30, 60, 300].freeze
JOBS_RUNNING_FOR_PROJECT_MAX_BUCKET = 5.freeze
Result = Struct.new(:build, :valid?)