let default threadpool have a core of 2xcores with a max of 100xcores using a fast synchronous Q as default.
@@ -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);
}
}
