Skip to content
Snippets Groups Projects
Commit 69722bcb authored by Elliot Rushton's avatar Elliot Rushton Committed by Kamil Trzciński
Browse files

Add 30 and 60 minute buckets

parent f2321d0b
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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?)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment