We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe04448 commit d636807Copy full SHA for d636807
modules/jooby-hikari/src/main/java/io/jooby/hikari/HikariModule.java
@@ -243,7 +243,7 @@ public HikariModule(@Nonnull HikariConfig hikari) {
243
private static Map<String, Object> defaults(String database, Environment env) {
244
Map<String, Object> defaults = new HashMap<>();
245
defaults.put("maximumPoolSize",
246
- Math.max(MINIMUM_SIZE, Runtime.getRuntime().availableProcessors() * 2 + 1));
+ Math.max(MINIMUM_SIZE, Runtime.getRuntime().availableProcessors() * 8));
247
if ("derby".equals(database)) {
248
// url => jdbc:derby:${db};create=true
249
defaults.put("dataSourceClassName", "org.apache.derby.jdbc.ClientDataSource");
0 commit comments