加快心跳TTL

This commit is contained in:
谷成伟 2024-12-12 10:10:38 +08:00
parent 3d713221af
commit 4928994d43

View File

@ -15,7 +15,7 @@ import org.springframework.stereotype.Service;
@Service(value = NodeConstant.HEARTBEAT)
public class HeartbeatCommand implements BaseCommand{
public static final long HEARTBEAT_TTL = 60L;
public static final long HEARTBEAT_TTL = 12L;
@Autowired
AdminRedisTemplate adminRedisTemplate;