From 93911536d9cd46d31b4dd1eaf67f46573081c127 Mon Sep 17 00:00:00 2001 From: coward Date: Thu, 5 Dec 2024 11:52:17 +0800 Subject: [PATCH] =?UTF-8?q?:art:=E8=B0=83=E6=95=B4=E5=AE=9A=E6=97=B6?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E6=89=A7=E8=A1=8C=E6=97=B6=E9=97=B4=EF=BC=8C?= =?UTF-8?q?=E4=BB=A5=E5=8F=8A=E5=90=AF=E5=8A=A8=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cron/task/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cron/task/client.go b/cron/task/client.go index c816e4c..b2d29e6 100644 --- a/cron/task/client.go +++ b/cron/task/client.go @@ -67,7 +67,7 @@ func (c networkClient) ClientOfflineNotify() { } // 如果存在,判断离线时间 - if time.Since(peer.LastHandshakeTime).Minutes() < 3 { + if time.Since(peer.LastHandshakeTime).Minutes() >= 3 { var ipAllocation string for _, iaip := range peer.AllowedIPs { ipAllocation += iaip.String() + ","