diff --git a/open-api/src/main/resources/prod-9606/application.yml b/open-api/src/main/resources/prod-9606/application.yml index b6fe02f..92880a1 100644 --- a/open-api/src/main/resources/prod-9606/application.yml +++ b/open-api/src/main/resources/prod-9606/application.yml @@ -15,10 +15,10 @@ spring: type: com.alibaba.druid.pool.DruidDataSource driver-class-name: com.mysql.jdbc.Driver filters: stat - maxActive: 10 - initialSize: 5 + maxActive: 200 + initialSize: 20 maxWait: 60000 - minIdle: 5 + minIdle: 20 timeBetweenEvictionRunsMillis: 60000 minEvictableIdleTimeMillis: 300000 validationQuery: select 'x' diff --git a/open-api/src/main/resources/prod/application.yml b/open-api/src/main/resources/prod/application.yml index 8d30e7a..a62b076 100644 --- a/open-api/src/main/resources/prod/application.yml +++ b/open-api/src/main/resources/prod/application.yml @@ -15,10 +15,10 @@ spring: type: com.alibaba.druid.pool.DruidDataSource driver-class-name: com.mysql.jdbc.Driver filters: stat - maxActive: 10 - initialSize: 5 + maxActive: 200 + initialSize: 20 maxWait: 60000 - minIdle: 5 + minIdle: 20 timeBetweenEvictionRunsMillis: 60000 minEvictableIdleTimeMillis: 300000 validationQuery: select 'x'