mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
CB-4301 qm autoreconnect (#2265)
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
This commit is contained in:
co-authored by
Daria Marutkina
parent
bb743ac5b0
commit
dbe2cb558d
-23
@@ -33,29 +33,6 @@ public class CBDatabaseConfig implements InternalDatabaseConfig {
|
||||
|
||||
private final Pool pool = new Pool();
|
||||
|
||||
public static class Pool {
|
||||
private int minIdleConnections = 2;
|
||||
private int maxIdleConnections = 10;
|
||||
private int maxConnections = 1000;
|
||||
private String validationQuery = "SELECT 1";
|
||||
|
||||
public int getMinIdleConnections() {
|
||||
return minIdleConnections;
|
||||
}
|
||||
|
||||
public int getMaxIdleConnections() {
|
||||
return maxIdleConnections;
|
||||
}
|
||||
|
||||
public int getMaxConnections() {
|
||||
return maxConnections;
|
||||
}
|
||||
|
||||
public String getValidationQuery() {
|
||||
return validationQuery;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getDriver() {
|
||||
return driver;
|
||||
|
||||
Reference in New Issue
Block a user