Skip to content

Commit

Permalink
Fixed commented log about Event looped bloocked.
Browse files Browse the repository at this point in the history
  • Loading branch information
ctubio committed Jul 31, 2016
1 parent 276900d commit d320d45
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/service/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,8 @@ var runTradingSystem = (classes: SimulationClasses) : Q.Promise<boolean> => {
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();

Expand Down

0 comments on commit d320d45

Please sign in to comment.