diff --git a/backend/app/src/main/resources/commons.properties b/backend/app/src/main/resources/commons.properties index e75ad4ead8..e1b4cefd52 100644 --- a/backend/app/src/main/resources/commons.properties +++ b/backend/app/src/main/resources/commons.properties @@ -9,6 +9,8 @@ logging.file.path=/opt/metersphere/logs/metersphere # Hikari spring.datasource.type=com.zaxxer.hikari.HikariDataSource spring.datasource.hikari.maximum-pool-size=100 +spring.datasource.hikari.minimum-idle=10 +spring.datasource.hikari.idle-timeout=300000 spring.datasource.hikari.auto-commit=true spring.datasource.hikari.pool-name=DatebookHikariCP spring.datasource.hikari.max-lifetime=1800000 @@ -19,6 +21,8 @@ spring.datasource.quartz.url=${spring.datasource.url} spring.datasource.quartz.username=${spring.datasource.username} spring.datasource.quartz.password=${spring.datasource.password} spring.datasource.quartz.hikari.maximum-pool-size=50 +spring.datasource.quartz.hikari.minimum-idle=10 +spring.datasource.quartz.hikari.idle-timeout=300000 spring.datasource.quartz.hikari.auto-commit=true spring.datasource.quartz.hikari.pool-name=DatebookHikariCP spring.datasource.quartz.hikari.max-lifetime=1800000