Skip to content

Commit

Permalink
Remove dynamic from fixed executor settings
Browse files Browse the repository at this point in the history
This commit removes the dynamic properties from fixed executor settings.
  • Loading branch information
jasontedor committed Jun 2, 2016
1 parent 2f29247 commit 76026f1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ public FixedExecutorBuilder(final Settings settings, final String name, final in
sizeKey,
s -> Integer.toString(size),
s -> Setting.parseInt(s, 1, applyHardSizeLimit(settings, name), sizeKey),
Setting.Property.Dynamic, Setting.Property.NodeScope);
Setting.Property.NodeScope);
final String queueSizeKey = settingsKey(prefix, "queue_size");
this.queueSizeSetting =
Setting.intSetting(queueSizeKey, queueSize, Setting.Property.Dynamic, Setting.Property.NodeScope);
Setting.intSetting(queueSizeKey, queueSize, Setting.Property.NodeScope);
}

private int applyHardSizeLimit(final Settings settings, final String name) {
Expand Down

0 comments on commit 76026f1

Please sign in to comment.