减小数据库连接数
This commit is contained in:
parent
24570117bb
commit
6bf21a6450
@ -25,7 +25,6 @@
|
|||||||
<groupId>io.gisbi</groupId>
|
<groupId>io.gisbi</groupId>
|
||||||
<artifactId>common</artifactId>
|
<artifactId>common</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.0.0</version>
|
||||||
<scope>compile</scope>
|
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.gisbi</groupId>
|
<groupId>io.gisbi</groupId>
|
||||||
@ -92,7 +91,6 @@
|
|||||||
<groupId>io.gisbi</groupId>
|
<groupId>io.gisbi</groupId>
|
||||||
<artifactId>api-permissions</artifactId>
|
<artifactId>api-permissions</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.0.0</version>
|
||||||
<scope>compile</scope>
|
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
@ -30,8 +30,8 @@ public class Configuration {
|
|||||||
private String driver;
|
private String driver;
|
||||||
private int initialPoolSize = 5;
|
private int initialPoolSize = 5;
|
||||||
private int minPoolSize = 5;
|
private int minPoolSize = 5;
|
||||||
private int maxPoolSize = 50;
|
private int maxPoolSize = 20;
|
||||||
private int queryTimeout = 30;
|
private int queryTimeout = 10;
|
||||||
private boolean useSSH = false;
|
private boolean useSSH = false;
|
||||||
private String sshHost;
|
private String sshHost;
|
||||||
private Integer sshPort;
|
private Integer sshPort;
|
||||||
|
Loading…
Reference in New Issue
Block a user