Game uses hikaricp for all connection pooling. Connection count set dynamically.
This commit is contained in:
1 parent
3c5ffed352
commit
0e4490576a
16 files changed
+136
-184
No files matched your search
@@ -34,7 +34,7 @@ public abstract class dbHandlerBase {
|
||||
|
||||
protected final void prepareCallable(final String sql) {
|
||||
try {
|
||||
this.cs.set((CallableStatement) DbManager.getConn().prepareCall(sql, ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY));
|
||||
this.cs.set((CallableStatement) DbManager.getConnection().prepareCall(sql, ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY));
|
||||
} catch (SQLException e) {
|
||||
Logger.error("DbManager.getConn", e);
|
||||
Logger.error("SQL Error number: " + e.getErrorCode());
|
||||
|
||||
Reference in new issue
Block a user