From 0d0cc7ace1513d24efa03427732111fafe3ee25e Mon Sep 17 00:00:00 2001 From: wucongxing <815046773@qq.com> Date: Mon, 29 May 2023 14:17:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9config=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E8=AF=BB=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/autoload/databases.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/autoload/databases.php b/config/autoload/databases.php index b231787..33bb059 100644 --- a/config/autoload/databases.php +++ b/config/autoload/databases.php @@ -26,8 +26,8 @@ return [ 'pool' => [ 'min_connections' => 100, 'max_connections' => 300, - 'connect_timeout' => 15.0, - 'wait_timeout' => 10.0, + 'connect_timeout' => 10.0, + 'wait_timeout' => 5.0, 'heartbeat' => -1, 'max_idle_time' => (float) env('DB_MAX_IDLE_TIME', 60), ],