Skip to content

Commit

Permalink
remove commented lines
Browse files Browse the repository at this point in the history
  • Loading branch information
david raistrick committed Jan 14, 2013
1 parent 3f1a116 commit 8ef73bc
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions stats.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,8 @@ function flushMetrics() {
for (key in metrics.counters) {
if (conf.deleteCounters) {
if (key == packets_received || key == bad_lines_seen) {
// if (conf.debug) {
// l.log("resetting stats key: " + key);
// }
metrics.counters[key] = 0;
} else {
//if (conf.debug) {
// l.log("deleting key: " + key);
//}
delete(metrics.counters[key]);
}
} else {
Expand Down

0 comments on commit 8ef73bc

Please sign in to comment.