diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2022-11-15 17:08:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-15 17:08:13 +0100 |
commit | 07b0309d59f46590dbce87076e1393aaaa9bab07 (patch) | |
tree | 72199429056391055ce0c3e10be6b91cfe7256ed | |
parent | a515d38535ac26411f0b947f5eb85cb15759e360 (diff) |
Update config-model/src/main/java/com/yahoo/vespa/model/search/NodeResourcesTuning.java
Co-authored-by: Geir Storli <geirst@yahooinc.com>
-rw-r--r-- | config-model/src/main/java/com/yahoo/vespa/model/search/NodeResourcesTuning.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config-model/src/main/java/com/yahoo/vespa/model/search/NodeResourcesTuning.java b/config-model/src/main/java/com/yahoo/vespa/model/search/NodeResourcesTuning.java index a5260303efe..0cf361c10dd 100644 --- a/config-model/src/main/java/com/yahoo/vespa/model/search/NodeResourcesTuning.java +++ b/config-model/src/main/java/com/yahoo/vespa/model/search/NodeResourcesTuning.java @@ -98,7 +98,7 @@ public class NodeResourcesTuning implements ProtonConfig.Producer { builder.maxconcurrent(1); } builder.maxconcurrent(Math.min(builder.build().maxconcurrent(), - Math.max(1, (int)Math.ceil(resources.vcpu()*MAX_FLUSH_TREAD_RATIO)))); + Math.max(1, (int)Math.ceil(resources.vcpu()*MAX_FLUSH_THREAD_RATIO)))); } private void tuneFlushStrategyTlsSize(ProtonConfig.Flush.Memory.Builder builder) { |