From d320d45cdec3af1fbc687f78a7ef992b6bbbd1af Mon Sep 17 00:00:00 2001 From: ctubio Date: Mon, 1 Aug 2016 00:47:32 +0200 Subject: [PATCH] Fixed commented log about Event looped bloocked. --- src/service/main.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/service/main.ts b/src/service/main.ts index efaf7d055..c65816044 100644 --- a/src/service/main.ts +++ b/src/service/main.ts @@ -417,7 +417,8 @@ var runTradingSystem = (classes: SimulationClasses) : Q.Promise => { var delta = process.hrtime(start); var ms = (delta[0] * 1e9 + delta[1]) / 1e6; var n = ms - interval; - ////if (n > 25) mainLog.info("Event looped blocked for " + Utils.roundFloat(n) + "ms"); + if (n > 25) + mainLog.info("Event looped blocked for " + Utils.roundFloat(n) + "ms"); start = process.hrtime(); }, interval).unref();