Quellcode durchsuchen

ajout d'un todo pour implémenter la méthode handleTimers

Damien Pacaud vor 12 Jahren
Ursprung
Commit
fc4a14bc3b
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  1. 2 1
      mysql-backend.js

+ 2 - 1
mysql-backend.js

@@ -483,13 +483,14 @@ StatdMySQLBackend.prototype.handleGauges = function(_gauges, time_stamp) {
  * @param _timers received timers
  * @param time_stamp flush time_stamp 
  */
+ //TODO : à implémenter
 StatdMySQLBackend.prototype.handleTimers = function(_timers, time_stamp) {
   var self = this;
   
   var timersSize = 0
   for(var t in _timers) { timersSize++; }
 
-  // If gauges received
+  // If timers received
   if(timersSize > 0) {
     console.log("Timers received !");
     console.log("Timers = " + util.inspect(_gauges));