mirror of
https://github.com/apache/druid.git
synced 2025-02-26 04:55:24 +00:00
fix coordinator dynamic configs
This commit is contained in:
parent
783f8fcc99
commit
f0c40709cd
@ -55,7 +55,7 @@ public class CoordinatorDynamicConfig
|
||||
this.emitBalancingStats = emitBalancingStats;
|
||||
this.balancerComputeThreads = Math.min(
|
||||
Math.max(balancerComputeThreads, 1),
|
||||
Runtime.getRuntime().availableProcessors() - 1
|
||||
Math.max(Runtime.getRuntime().availableProcessors() - 1, 1)
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user