Skip to content
This repository
Browse code

skip setting intermediate variable

  • Loading branch information...
commit a73d5fabde1875aec7f874c8ccd0ff24e9750119 1 parent a0aac23
Dan Rowe authored December 11, 2012

Showing 1 changed file with 1 addition and 2 deletions. Show diff stats Hide diff stats

  1. 3  lib/process_metrics.js
3  lib/process_metrics.js
@@ -12,8 +12,7 @@ var process_metrics = function (metrics, flushInterval, ts, flushCallback) {
12 12
       var value = counters[key];
13 13
 
14 14
       // calculate "per second" rate
15  
-      var valuePerSecond = value / (flushInterval / 1000);
16  
-      counter_rates[key] = valuePerSecond;
  15
+      counter_rates[key] = value / (flushInterval / 1000);
17 16
     }
18 17
 
19 18
     for (key in timers) {

0 notes on commit a73d5fa

Please sign in to comment.
Something went wrong with that request. Please try again.