no builds no pending
This commit is contained in:
parent
f6051d71d6
commit
e9e7c3788d
|
@ -82,6 +82,8 @@ module Gitlab
|
|||
end
|
||||
|
||||
def process_pending_duration(segments, duration)
|
||||
return 0 if segments.empty?
|
||||
|
||||
total = segments.last.last - segments.first.first
|
||||
total - duration
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue