mirror of https://github.com/apache/druid.git
Fix numLookupLoadingThreads default value (#5097)
This commit is contained in:
parent
486159ba8c
commit
ec6774039e
|
@ -37,7 +37,7 @@ public class LookupConfig
|
|||
|
||||
@Min(1)
|
||||
@JsonProperty("numLookupLoadingThreads")
|
||||
private int numLookupLoadingThreads = Runtime.getRuntime().availableProcessors() / 2;
|
||||
private int numLookupLoadingThreads = Math.max(1, Runtime.getRuntime().availableProcessors() / 2);
|
||||
|
||||
@Min(1)
|
||||
@JsonProperty("coordinatorFetchRetries")
|
||||
|
|
Loading…
Reference in New Issue