From 0d28bd3445359ae5907ee7155a4d9b38f532fdef Mon Sep 17 00:00:00 2001 From: coward Date: Fri, 7 Jun 2024 10:46:22 +0800 Subject: [PATCH] =?UTF-8?q?:art:=E8=B0=83=E6=95=B4=E5=AE=A2=E6=88=B7?= =?UTF-8?q?=E7=AB=AF=E6=A3=80=E6=B5=8B=E7=A6=BB=E7=BA=BF=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E4=B8=BA=E4=B8=89=E5=88=86=E9=92=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- http/api/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http/api/client.go b/http/api/client.go index fcac909..7de1f7f 100644 --- a/http/api/client.go +++ b/http/api/client.go @@ -373,7 +373,7 @@ func (clients) Status(c *gin.Context) { ipAllocation += iaip.String() + "," } ipAllocation = strings.TrimRight(ipAllocation, ",") - isOnline := time.Since(p.LastHandshakeTime).Minutes() < 1 + isOnline := time.Since(p.LastHandshakeTime).Minutes() < 3 data = append(data, vo.ClientStatus{ ID: clientInfo.Id, Name: clientInfo.Name,