From b06ea9d8dfeb36034a2e90aeb6795f3c342124a6 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Tue, 11 Aug 2026 15:18:47 +0800 Subject: [PATCH] fix: move minsize/maxsize out of kwargs to dbconfig level --- conf/config.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/config.json b/conf/config.json index e62d87e..221e525 100644 --- a/conf/config.json +++ b/conf/config.json @@ -9,6 +9,8 @@ "databases": { "pccs": { "driver": "mysql", + "minsize": 2, + "maxsize": 10, "kwargs": { "host": "127.0.0.1", "port": 3306, @@ -16,8 +18,6 @@ "password": "1fN6G2pwnHzV21ip/ZEM6Q==", "db": "pccs", "charset": "utf8mb4", - "minsize": 2, - "maxsize": 10, "autocommit": true } }