From d857cc17ef91e9d2d73f010c28c13a0b1cef20f6 Mon Sep 17 00:00:00 2001 From: zlt Date: Mon, 12 Aug 2019 14:39:08 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E5=B0=8F=E9=BB=98=E8=AE=A4=E8=BF=9E?= =?UTF-8?q?=E6=8E=A5=E6=B1=A0=E6=95=B0=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zlt-config/src/main/resources/application.properties | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zlt-config/src/main/resources/application.properties b/zlt-config/src/main/resources/application.properties index f40e814..073e575 100644 --- a/zlt-config/src/main/resources/application.properties +++ b/zlt-config/src/main/resources/application.properties @@ -46,9 +46,9 @@ spring.cloud.sentinel.eager=true ##### druid配置 #连接池配置(通常来说,只需要修改initialSize、minIdle、maxActive -spring.datasource.druid.initial-size=50 +spring.datasource.druid.initial-size=10 spring.datasource.druid.max-active=500 -spring.datasource.druid.min-idle=50 +spring.datasource.druid.min-idle=10 # 配置获取连接等待超时的时间 spring.datasource.druid.max-wait=60000 #打开PSCache,并且指定每个连接上PSCache的大小 -- GitLab