Skip to content

Commit

Permalink
[#11497] Add isReady check to the ping stream
Browse files Browse the repository at this point in the history
  • Loading branch information
emeroad committed Oct 11, 2024
1 parent 6c779c6 commit 6c21e79
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,11 @@ public void run() {
@Override
public void run() {
PPing pPing = newPing();
requestStream.onNext(pPing);
if (requestStream.isReady()) {
requestStream.onNext(pPing);
} else {
logger.debug("{} ping fail. client is not ready", streamId);
}
}
};

Expand Down

0 comments on commit 6c21e79

Please sign in to comment.