Merge pull request #70 from SandyWalsh/greater_60

>60 errors only if no other error seen
This commit is contained in:
Sandy Walsh
2013-04-03 12:47:55 -07:00
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)