mirror of https://github.com/apache/druid.git
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…
Reference in New Issue