From e11f64f83a1f918afa7998b817e551e0d7311a09 Mon Sep 17 00:00:00 2001 From: Brian Gough Date: Thu, 18 May 2017 15:02:08 +0100 Subject: [PATCH] increase profiling cutoff to 1s --- services/document-updater/app/coffee/Profiler.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/document-updater/app/coffee/Profiler.coffee b/services/document-updater/app/coffee/Profiler.coffee index 8aacf2a0a8..f4ee219afb 100644 --- a/services/document-updater/app/coffee/Profiler.coffee +++ b/services/document-updater/app/coffee/Profiler.coffee @@ -5,7 +5,7 @@ deltaMs = (ta, tb) -> return Math.floor(((ta[0]-tb[0])*1e9 + (ta[1]-tb[1]))*1e-6) module.exports = class Profiler - LOG_CUTOFF_TIME: 100 + LOG_CUTOFF_TIME: 1000 constructor: (@name, @args) -> @t0 = @t = process.hrtime()