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() + ","