Log this for debug purposes

This commit is contained in:
Cryptkeeper 2016-02-01 05:43:23 -06:00
parent 6e620e759f
commit 5edd13ac5d

@ -109,6 +109,8 @@ exports.convertPingsToGraph = function(sqlData) {
var serverIps = getServerIps();
var graphData = {};
var startTime = getCurrentTimeMs();
for (var i = 0; i < sqlData.length; i++) {
var entry = sqlData[i];
@ -131,5 +133,7 @@ exports.convertPingsToGraph = function(sqlData) {
// Drop old data.
exports.trimOldPings(graphData);
logger.inf('Converted data structure in ' + (getCurrentTimeMs() - startTime) + 'ms');
return graphData;
};