Fix #938
This commit is contained in:
parent
9b24b46f7a
commit
da757f156c
@ -54,9 +54,6 @@ public class Service extends com.alibaba.nacos.api.naming.pojo.Service implement
|
||||
|
||||
private static final String SERVICE_NAME_SYNTAX = "[0-9a-zA-Z@\\.:_-]+";
|
||||
|
||||
@JSONField(serialize = false)
|
||||
private ClientBeatProcessor clientBeatProcessor = new ClientBeatProcessor();
|
||||
|
||||
@JSONField(serialize = false)
|
||||
private ClientBeatCheckTask clientBeatCheckTask = new ClientBeatCheckTask(this);
|
||||
|
||||
@ -104,6 +101,7 @@ public class Service extends com.alibaba.nacos.api.naming.pojo.Service implement
|
||||
}
|
||||
|
||||
public void processClientBeat(final RsInfo rsInfo) {
|
||||
ClientBeatProcessor clientBeatProcessor = new ClientBeatProcessor();
|
||||
clientBeatProcessor.setService(this);
|
||||
clientBeatProcessor.setRsInfo(rsInfo);
|
||||
HealthCheckReactor.scheduleNow(clientBeatProcessor);
|
||||
|
Loading…
Reference in New Issue
Block a user