Skip to content

Commit

Permalink
Set disconnectedRetryAttempt to be one on connected
Browse files Browse the repository at this point in the history
  • Loading branch information
sacOO7 committed Jun 22, 2023
1 parent f43cc91 commit 4033cfc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1157,7 +1157,7 @@ public void onMessage(ITransport transport, ProtocolMessage message) throws Ably
}
break;
case connected:
disconnectedRetryAttempt = 0;
disconnectedRetryAttempt = 1;
onConnected(message);
break;
case disconnect:
Expand Down

0 comments on commit 4033cfc

Please sign in to comment.