Log this for debug purposes
This commit is contained in:
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;
|
||||
};
|
Loading…
x
Reference in New Issue
Block a user