From 794054b83142e8853d09bd0e1859c3ffcbd5fe2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=B6=9B?= Date: Mon, 19 Sep 2022 22:26:27 +0800 Subject: [PATCH] =?UTF-8?q?enhance(config):=E8=B0=83=E6=95=B4=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=BA=93=E8=BF=9E=E6=8E=A5=E6=B1=A0=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- settings.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/settings.yaml b/settings.yaml index d68ea41..f926f74 100644 --- a/settings.yaml +++ b/settings.yaml @@ -4,8 +4,8 @@ Database: Host: postgres Port: 5432 DB: electricity - MaxIdleConns: 10 - MaxOpenConns: 30 + MaxIdleConns: 0 + MaxOpenConns: 20 Server: RunMode: release HttpPort: 8000