Fix bad references

This commit is contained in:
Cryptkeeper 2016-02-01 05:44:07 -06:00
parent 5edd13ac5d
commit c1c66c8f50

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