Skip to content

Allow channels to immediately reconnect when the socket does#3141

Merged
chrismccord merged 1 commit intophoenixframework:masterfrom
sb8244:sb8244-channel-timer
Nov 7, 2018
Merged

Allow channels to immediately reconnect when the socket does#3141
chrismccord merged 1 commit intophoenixframework:masterfrom
sb8244:sb8244-channel-timer

Conversation

@sb8244
Copy link
Copy Markdown
Contributor

@sb8244 sb8244 commented Nov 4, 2018

The timer state must be known in order to know if the channel was attempting to rejoin or not. It is
not correct to start a channel rejoin timer if it was not previously running. This involved changing the timer logic up a bit to clear out this.timer when it's done processing

Related to #3139

The timer state must be known in order to know if the channel was attempting to rejoin or not. It is
not correct to start a channel rejoin timer if it was not previously running.
@chrismccord chrismccord merged commit 3b6bc38 into phoenixframework:master Nov 7, 2018
@chrismccord
Copy link
Copy Markdown
Member

❤️❤️❤️🐥🔥

@sb8244 sb8244 deleted the sb8244-channel-timer branch November 7, 2018 19:13
@GrantJamesPowell
Copy link
Copy Markdown

Nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants