ServerPrepStmts ftw

This commit is contained in:
Brokkonaut
2018-08-03 01:04:02 +02:00
parent f85dbdbbdf
commit 3d1f57cc79

View File

@ -28,6 +28,7 @@ public class MySQLConnectionPool implements Closeable {
ds.addDataSourceProperty("cachePrepStmts", "true");
ds.addDataSourceProperty("prepStmtCacheSize", "250");
ds.addDataSourceProperty("prepStmtCacheSqlLimit", "2048");
ds.addDataSourceProperty("useServerPrepStmts", "true");
}
@Override