Skip to content

Commit

Permalink
fix issue #138
Browse files Browse the repository at this point in the history
Signed-off-by: Keli <[email protected]>
  • Loading branch information
keliwang committed Jul 11, 2021
1 parent 22d6917 commit 4fc8781
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,15 +124,15 @@ private void request(MetaInfoRequestParam param) {
request.setClientId(this.clientId);
request.setConsumerGroup(param.group);
request.setAppCode(param.getAppCode());
request.setRequestType(param.getRequestType());

if (param.getRequestType() == null) {
if (!hadOnline(param)) {
request.setRequestType(ClientRequestType.ONLINE);
}
else {
} else {
request.setRequestType(ClientRequestType.HEARTBEAT);
}
} else {
request.setRequestType(param.getRequestType());
}

LOGGER.debug("meta info request: {}", request);
Expand Down

0 comments on commit 4fc8781

Please sign in to comment.