from 2022 to 2024

pull/1680/head
zihenz 1 month ago
parent ac86dbdfcf
commit d1c38d1084

@ -207,8 +207,7 @@ public class PolarisDiscoveryProperties {
public void setServiceListRefreshInterval(Long serviceListRefreshInterval) {
this.serviceListRefreshInterval = serviceListRefreshInterval;
}
public Integer getHeartbeatInterval() {
if (this.heartbeatInterval <= 0 || this.heartbeatInterval > 60) {
heartbeatInterval = DEFAULT_REGISTRY_HEARTBEAT_TIME_INTERVAL;

Loading…
Cancel
Save