Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

skip setting intermediate variable

  • Loading branch information...
commit a73d5fabde1875aec7f874c8ccd0ff24e9750119 1 parent a0aac23
@draco2003 draco2003 authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  lib/process_metrics.js
View
3  lib/process_metrics.js
@@ -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) {
Please sign in to comment.
Something went wrong with that request. Please try again.