减小数据库连接数

This commit is contained in:
root 2025-04-16 10:19:05 +08:00
parent 24570117bb
commit 6bf21a6450
2 changed files with 2 additions and 4 deletions

View File

@ -25,7 +25,6 @@
<groupId>io.gisbi</groupId>
<artifactId>common</artifactId>
<version>1.0.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>io.gisbi</groupId>
@ -92,7 +91,6 @@
<groupId>io.gisbi</groupId>
<artifactId>api-permissions</artifactId>
<version>1.0.0</version>
<scope>compile</scope>
</dependency>
</dependencies>

View File

@ -30,8 +30,8 @@ public class Configuration {
private String driver;
private int initialPoolSize = 5;
private int minPoolSize = 5;
private int maxPoolSize = 50;
private int queryTimeout = 30;
private int maxPoolSize = 20;
private int queryTimeout = 10;
private boolean useSSH = false;
private String sshHost;
private Integer sshPort;