Skip to content

Commit

Permalink
Merge pull request Netflix#1225 from mebigfatguy/master
Browse files Browse the repository at this point in the history
remove dead allocation of unused thunk
  • Loading branch information
mattrjacobs committed May 31, 2016
2 parents d85daae + 1e2092e commit e5136eb
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 e5136eb

Please sign in to comment.