Skip to content

Commit

Permalink
Do not queue when using bidirectional push
Browse files Browse the repository at this point in the history
  • Loading branch information
caalador committed Jan 10, 2025
1 parent 7a97b9a commit 71d7dc0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ private void sendPayload(final JsonObject payload) {
}

if (push != null && push.isBidirectional()) {
messageQueue.remove(0);
// When using bidirectional transport, the payload is not resent
// to the server during reconnection attempts.
// Keep a copy of the message, so that it could be resent to the
Expand Down

0 comments on commit 71d7dc0

Please sign in to comment.