Permalink
Browse files

skip setting intermediate variable

  • Loading branch information...
1 parent a0aac23 commit a73d5fabde1875aec7f874c8ccd0ff24e9750119 @draco2003 committed Dec 12, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/process_metrics.js
View
@@ -12,8 +12,7 @@ var process_metrics = function (metrics, flushInterval, ts, flushCallback) {
var value = counters[key];
// calculate "per second" rate
- var valuePerSecond = value / (flushInterval / 1000);
- counter_rates[key] = valuePerSecond;
+ counter_rates[key] = value / (flushInterval / 1000);
}
for (key in timers) {

0 comments on commit a73d5fa

Please sign in to comment.