Skip to content

Commit

Permalink
Use method call instead of value reference so that HystrixThreadPoolP…
Browse files Browse the repository at this point in the history
…roperties may be overridden
  • Loading branch information
mattrjacobs committed Dec 21, 2016
1 parent 15f44f3 commit 06c0d0f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public HystrixProperty<Integer> maximumSize() {
public Integer actualMaximumSize() {
final int coreSize = coreSize().get();
final int maximumSize = maximumSize().get();
if (allowMaximumSizeToDivergeFromCoreSize.get()) {
if (getAllowMaximumSizeToDivergeFromCoreSize().get()) {
if (coreSize > maximumSize) {
return coreSize;
} else {
Expand Down

0 comments on commit 06c0d0f

Please sign in to comment.