From a471c7654ff6d9e926e98f5a5b1d31a40c7ff940 Mon Sep 17 00:00:00 2001 From: hurui <177768073@qq.com> Date: Mon, 4 Sep 2023 14:33:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- open-api/src/main/resources/prod-9606/application.yml | 6 +++--- open-api/src/main/resources/prod/application.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) 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'