From f0f2398e47e028b3906ecc0b6fa34c118ee46f40 Mon Sep 17 00:00:00 2001 From: Gabriele C Date: Wed, 15 Feb 2017 23:27:25 +0100 Subject: [PATCH] Incrase the auto poolSize value --- src/main/java/fr/xephi/authme/datasource/MySQL.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/fr/xephi/authme/datasource/MySQL.java b/src/main/java/fr/xephi/authme/datasource/MySQL.java index f500ac07..f62b00e1 100644 --- a/src/main/java/fr/xephi/authme/datasource/MySQL.java +++ b/src/main/java/fr/xephi/authme/datasource/MySQL.java @@ -99,7 +99,7 @@ public class MySQL implements DataSource { this.wordpressPrefix = settings.getProperty(HooksSettings.WORDPRESS_TABLE_PREFIX); this.poolSize = settings.getProperty(DatabaseSettings.MYSQL_POOL_SIZE); if (poolSize == -1) { - poolSize = Utils.getCoreCount(); + poolSize = Utils.getCoreCount()*3; } this.useSSL = settings.getProperty(DatabaseSettings.MYSQL_USE_SSL); }