From 3bb0716c169e5dd28a2bd5bbeeac3d8c8b3eef58 Mon Sep 17 00:00:00 2001 From: whwyy Date: Mon, 27 Jul 2026 08:53:58 +0800 Subject: [PATCH] eee --- Command.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Command.php b/Command.php index 2667f2c..1bd9ada 100644 --- a/Command.php +++ b/Command.php @@ -225,6 +225,9 @@ class Command extends Component protected function isRefresh(Throwable $throwable): bool { $message = $throwable->getMessage(); + if (str_contains($message, 'Connection timed out')) { + return true; + } // MySQL 错误处理 if (str_contains($message, 'MySQL server has gone away')) {