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