diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2021-10-07 13:14:53 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2021-10-07 13:14:53 +0200 |
commit | feeeb1b1e4e44ed2ac51095ed177ebf84540de9f (patch) | |
tree | 937e852df2b2b1a55daca2c586ffb14849e4999a /config-model/src | |
parent | 03224ae1749a058c88ee926738195ae0d3204322 (diff) |
let default threadpool have a core of 2xcores with a max of 100xcores using a fast synchronous Q as default.
Diffstat (limited to 'config-model/src')
-rw-r--r-- | config-model/src/main/java/com/yahoo/vespa/model/container/DefaultThreadpoolProvider.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/config-model/src/main/java/com/yahoo/vespa/model/container/DefaultThreadpoolProvider.java b/config-model/src/main/java/com/yahoo/vespa/model/container/DefaultThreadpoolProvider.java index 932c7fd9c86..e0d4f3c0692 100644 --- a/config-model/src/main/java/com/yahoo/vespa/model/container/DefaultThreadpoolProvider.java +++ b/config-model/src/main/java/com/yahoo/vespa/model/container/DefaultThreadpoolProvider.java @@ -46,6 +46,8 @@ class DefaultThreadpoolProvider extends SimpleComponent implements ThreadpoolCon return; } - builder.corePoolSize(-2).maxthreads(-2).queueSize(-40); + // Core pool size of 2xcores, and max of 100xcores and using a synchronous Q + // This is the deafault pool used by both federation and generally when you ask for an Executor. + builder.corePoolSize(-2).maxthreads(-100).queueSize(0); } } |