From 87c6c7163373386166239c45c0ff69bb54a783f7 Mon Sep 17 00:00:00 2001 From: ZZ Date: Mon, 22 Nov 2021 11:26:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=9D=E8=AF=95=E5=87=8F=E5=B0=91=E8=AF=AF?= =?UTF-8?q?=E5=88=A4=E7=A6=BB=E7=BA=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/xhpc/pp/server/HBCheckTask.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xhpc-modules/xhpc-power-pile/src/main/java/com/xhpc/pp/server/HBCheckTask.java b/xhpc-modules/xhpc-power-pile/src/main/java/com/xhpc/pp/server/HBCheckTask.java index b34e2b15..f3f0ebcf 100644 --- a/xhpc-modules/xhpc-power-pile/src/main/java/com/xhpc/pp/server/HBCheckTask.java +++ b/xhpc-modules/xhpc-power-pile/src/main/java/com/xhpc/pp/server/HBCheckTask.java @@ -25,7 +25,7 @@ public class HBCheckTask { Map cacheGun = REDIS.getCacheMap(gunkey); Long hbtime = (Long) cacheGun.get("hbtime"); hbtime = hbtime == null ? 0 : hbtime; - if ((now - hbtime) > 60000) { + if ((now - hbtime) > 75000) { cacheGun.put("statusInt", OFF_LINE); cacheGun.put("status", DISCONNECTED); REDIS.setCacheMap(gunkey, cacheGun);