Merge pull request #70 from SandyWalsh/greater_60
>60 errors only if no other error seen
This commit is contained in:
@@ -143,7 +143,7 @@ for uuid_dict in updates:
|
||||
_end = _when
|
||||
diff = _end - _start
|
||||
|
||||
if diff > 3600:
|
||||
if diff > 3600 and failure_type == None:
|
||||
failure_type = ">60"
|
||||
|
||||
key = (operation, image_type_num, cell)
|
||||
|
||||
@@ -113,7 +113,7 @@ def make_report(yesterday=None, start_hour=0, hours=24, percentile=97,
|
||||
end = raw.when
|
||||
diff = end - start
|
||||
|
||||
if diff > 3600:
|
||||
if diff > 3600 and failure_type == None:
|
||||
failure_type = '> 60'
|
||||
|
||||
key = (operation, image)
|
||||
|
||||
Reference in New Issue
Block a user