parent
b85e8795da
commit
af665c6ebe
|
@ -215,6 +215,11 @@ public class GatewayLoadServiceImpl implements GatewayLoadService {
|
||||||
gatewayNodeInfo.setPublicAddress(instancesInformation.getPublicIpAddress());
|
gatewayNodeInfo.setPublicAddress(instancesInformation.getPublicIpAddress());
|
||||||
gatewayNodeInfo.setPrivateAddress(instancesInformation.getPrivateIpAddress());
|
gatewayNodeInfo.setPrivateAddress(instancesInformation.getPrivateIpAddress());
|
||||||
|
|
||||||
|
gatewayNodeCache.put(gatewayNodeInfo);
|
||||||
|
|
||||||
|
gatewayZSetNodeCache.put(instancesInformation.getPublicIpAddress(),0);
|
||||||
|
log.info("实例id和公网ip存入redis");
|
||||||
|
|
||||||
}else if (loadRate.longValue()<20){
|
}else if (loadRate.longValue()<20){
|
||||||
//调用缩容逻辑
|
//调用缩容逻辑
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue