>60 errors only if no other error seen

This commit is contained in:
Sandy Walsh
2013-04-03 16:46:34 -03:00
parent 5bfd9d9bb0
commit 23143e20a6
2 changed files with 2 additions and 2 deletions

View File

@@ -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)

View File

@@ -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)