加快心跳TTL
This commit is contained in:
parent
3d713221af
commit
4928994d43
@ -15,7 +15,7 @@ import org.springframework.stereotype.Service;
|
|||||||
@Service(value = NodeConstant.HEARTBEAT)
|
@Service(value = NodeConstant.HEARTBEAT)
|
||||||
public class HeartbeatCommand implements BaseCommand{
|
public class HeartbeatCommand implements BaseCommand{
|
||||||
|
|
||||||
public static final long HEARTBEAT_TTL = 60L;
|
public static final long HEARTBEAT_TTL = 12L;
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
AdminRedisTemplate adminRedisTemplate;
|
AdminRedisTemplate adminRedisTemplate;
|
||||||
|
Loading…
Reference in New Issue
Block a user