Skip to content

Commit

Permalink
Merge pull request Netflix#1585 from mattrjacobs/fix-codahale-metrics…
Browse files Browse the repository at this point in the history
…-threadpool

Fix incorrect return value in CodaHale metrics publisher of threadpool config
  • Loading branch information
mattrjacobs authored May 16, 2017
2 parents fdfb8f9 + 6794437 commit 4262904
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ public Number getValue() {
metricRegistry.register(createMetricName("propertyValue_actualMaximumSize"), new Gauge<Number>() {
@Override
public Number getValue() {
return properties.maximumSize().get();
return properties.actualMaximumSize();
}
});

Expand Down

0 comments on commit 4262904

Please sign in to comment.