Skip to content

Commit 71a2625

Browse files
committed
Fixed commented log about Event looped blocked.
1 parent 276900d commit 71a2625

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/service/main.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,8 @@ var runTradingSystem = (classes: SimulationClasses) : Q.Promise<boolean> => {
417417
var delta = process.hrtime(start);
418418
var ms = (delta[0] * 1e9 + delta[1]) / 1e6;
419419
var n = ms - interval;
420-
////if (n > 25) mainLog.info("Event looped blocked for " + Utils.roundFloat(n) + "ms");
420+
if (n > 25)
421+
mainLog.info("Event looped blocked for " + Utils.roundFloat(n) + "ms");
421422
start = process.hrtime();
422423
}, interval).unref();
423424

0 commit comments

Comments
 (0)