pusher / pusher-websocket-dotnet

Pusher Channels Client Library for .NET
MIT License
112 stars 113 forks source link

Reset _backOffMillis when reconnected correctly #96

Closed damdo closed 4 years ago

damdo commented 4 years ago

This fixes a bug in the reconnection logic where the increased _backOffMillis delay was not reset after a successful reconnection.

This lead to the client always waiting a non-zero delay before attempting a reconnection upon previous reconnections.

Based on a suggestion from @rh78 in #90, thank you.