From 3f72e41be6e12aa3ba462b95da1c9107777e2249 Mon Sep 17 00:00:00 2001 From: Guangyue-Xu <2571374157@qq.com> Date: Fri, 7 Aug 2026 18:08:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=BF=9E=E6=8E=A5=E6=95=B0?= =?UTF-8?q?=E6=B3=84=E9=9C=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- daemon/monitor.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/daemon/monitor.go b/daemon/monitor.go index 829c087b..01c0d170 100644 --- a/daemon/monitor.go +++ b/daemon/monitor.go @@ -139,10 +139,12 @@ func (m *monitor) MonitorLoop() { r := m.redis.Get() if r.Err() != nil { if _, ok := r.Err().(database.NetReadyError); ok { + r.Close() time.Sleep(100 * time.Millisecond) continue } } + r.Close() break }