From 11829cfc75a365584b3d63aa6500d394c72c7b5e Mon Sep 17 00:00:00 2001 From: wangliwen Date: Wed, 6 Jul 2022 10:22:55 +0800 Subject: [PATCH] =?UTF-8?q?dev=E9=85=8D=E7=BD=AE=E8=B0=83=E5=A4=A7?= =?UTF-8?q?=E8=BF=9E=E6=8E=A5=E6=B1=A0=E7=BA=BF=E7=A8=8B=E6=B1=A0=E6=95=B0?= =?UTF-8?q?=E7=9B=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- renren-admin/src/main/resources/application-dev.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/renren-admin/src/main/resources/application-dev.yml b/renren-admin/src/main/resources/application-dev.yml index bb675498..58bd4485 100644 --- a/renren-admin/src/main/resources/application-dev.yml +++ b/renren-admin/src/main/resources/application-dev.yml @@ -26,10 +26,13 @@ spring: # url: jdbc:postgresql://192.168.10.10:5432/postgres # username: postgres # password: 123456 - initial-size: 10 - max-active: 100 - min-idle: 10 - max-wait: 10 + initial-size: 50 + max-active: 1000 + min-idle: 100 + max-wait: 100 + removeAbandoned: true + removeAbandonedTimeout: 300 + logAbandoned: false pool-prepared-statements: true max-pool-prepared-statement-per-connection-size: 20 time-between-eviction-runs-millis: 60000