mirror of https://github.com/apache/druid.git
better default
This commit is contained in:
parent
42cf20c9f1
commit
c6d555e1f3
|
@ -31,7 +31,7 @@ public class ServerConfig
|
||||||
{
|
{
|
||||||
@JsonProperty
|
@JsonProperty
|
||||||
@Min(1)
|
@Min(1)
|
||||||
private int numThreads = 30;
|
private int numThreads = Math.max(10, (Runtime.getRuntime().availableProcessors() * 17) / 16 + 2) + 30;
|
||||||
|
|
||||||
@JsonProperty
|
@JsonProperty
|
||||||
@NotNull
|
@NotNull
|
||||||
|
|
Loading…
Reference in New Issue