Bump slow query threshold to 1.2s

(imported from commit 8d97fc22d208274bc57b884828957dacf396348a)
This commit is contained in:
Steve Howell
2013-12-26 09:16:49 -05:00
parent 89f3a7c72f
commit f61740551c
2 changed files with 2 additions and 2 deletions

View File

@@ -66,7 +66,7 @@ def format_timedelta(timedelta):
return "%.0fms" % (timedelta_ms(timedelta),)
def is_slow_query(time_delta, path):
if time_delta < 1:
if time_delta < 1.2:
return False
is_exempt = \
path in ["/activity", "/json/report_error",