7974c74d by jabis

timer fix

1 parent 93993793
Showing 1 changed file with 2 additions and 2 deletions
......@@ -95,14 +95,14 @@
socket.on('change', function() {
socket.emit('start', config.spans);
});
});
config.spans.forEach((span) => {
span.os = [];
span.responses = [];
setInterval(() => gatherOsMetrics(io, span), span.interval * 1000);
setInterval(() => gatherOsMetrics(socket, span), span.interval * 1000);
});
});
const startTime = process.hrtime();
if (req.path === config.path) {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!