forked from LogBlock/LogBlock
Set the maximum size for the connection pool
This commit is contained in:
@@ -18,6 +18,7 @@ public class MySQLConnectionPool implements Closeable {
|
||||
ds.setPassword(password);
|
||||
|
||||
ds.setMinimumIdle(2);
|
||||
ds.setMaximumPoolSize(15);
|
||||
ds.setPoolName("LogBlock-Connection-Pool");
|
||||
|
||||
ds.addDataSourceProperty("useUnicode", "true");
|
||||
|
||||
Reference in New Issue
Block a user