Skip to content

Commit

Permalink
remove dead allocation of unused thunk
Browse files Browse the repository at this point in the history
  • Loading branch information
mebigfatguy committed May 27, 2016
1 parent d85daae commit 1e2092e
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -189,13 +189,6 @@ public static Collection<HystrixCommandMetrics> getInstances() {
this.threadPoolKey = threadPoolKey;
this.properties = properties;

Func0<Integer> concurrentExecutionThunk = new Func0<Integer>() {
@Override
public Integer call() {
return HystrixCommandMetrics.getInstance(key).concurrentExecutionCount.get();
}
};

healthCountsStream = HealthCountsStream.getInstance(key, properties);
rollingCommandEventCounterStream = RollingCommandEventCounterStream.getInstance(key, properties);
cumulativeCommandEventCounterStream = CumulativeCommandEventCounterStream.getInstance(key, properties);
Expand Down

0 comments on commit 1e2092e

Please sign in to comment.