Skip to content

Commit 4262904

Browse files
authored
Merge pull request #1585 from mattrjacobs/fix-codahale-metrics-threadpool
Fix incorrect return value in CodaHale metrics publisher of threadpool config
2 parents fdfb8f9 + 6794437 commit 4262904

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hystrix-contrib/hystrix-codahale-metrics-publisher/src/main/java/com/netflix/hystrix/contrib/codahalemetricspublisher/HystrixCodaHaleMetricsPublisherThreadPool.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ public Number getValue() {
156156
metricRegistry.register(createMetricName("propertyValue_actualMaximumSize"), new Gauge<Number>() {
157157
@Override
158158
public Number getValue() {
159-
return properties.maximumSize().get();
159+
return properties.actualMaximumSize();
160160
}
161161
});
162162

0 commit comments

Comments
 (0)