Skip to content

Conversation

@nhooyr
Copy link
Contributor

@nhooyr nhooyr commented Nov 30, 2020

Based on the previous commits by @mgmachado but simplified.

I also changed the threshold to error after a single attempt as the
connection has likely been borked and the user should be in the know if
they couldn't reconnect after 5 seconds.

Closes #1791

@nhooyr nhooyr requested a review from code-asher November 30, 2020 18:53
@nhooyr nhooyr changed the title vscode: Reconnect in the background up to 5 times vscode: Reconnect in the background up to 5 seconds Nov 30, 2020
@nhooyr
Copy link
Contributor Author

nhooyr commented Nov 30, 2020

Fixed the diff!

Based on the previous commits by @mgmachado but simplified.

I also changed the threshold to error after a single attempt as the
connection has likely been borked and the user should be in the know if
they couldn't reconnect after 5 seconds.

Closes #1791
@mgmachado
Copy link
Contributor

LGTM. Much simpler!

@nhooyr nhooyr merged commit 7282ebf into master Nov 30, 2020
@nhooyr nhooyr deleted the reconnect-6fa3 branch November 30, 2020 20:22
jsjoeio added a commit that referenced this pull request Feb 25, 2021
As Asher pointed out, looks like it makes #2381 obsolete.

Hope this all works.
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