Skip to content

Simplify KeepAliveSession#43841

Merged
tmat merged 4 commits intodotnet:masterfrom
tmat:KeepAliveSession
May 2, 2020
Merged

Simplify KeepAliveSession#43841
tmat merged 4 commits intodotnet:masterfrom
tmat:KeepAliveSession

Conversation

@tmat
Copy link
Member

@tmat tmat commented Apr 30, 2020

The previous implementation attempted to reconnect if ServiceHub disconnected. However, such scenario isn't well supported in the rest of the system.
If the connection can drop anytime then it can drop just before we call Invoke on it, which we wouldn't handle well.
I believe attempting to reconnect or handle re-connection transparently should be handled by the lower layer (JSON RPC), not by Roslyn.

@tmat tmat force-pushed the KeepAliveSession branch from 3fd3390 to 47284d8 Compare April 30, 2020 19:32
Copy link
Contributor

@CyrusNajmabadi CyrusNajmabadi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I love the simplifications!

@tmat tmat force-pushed the KeepAliveSession branch from a1ee020 to c2819a8 Compare May 1, 2020 16:18
@tmat tmat force-pushed the KeepAliveSession branch from cdc8894 to 3ae11ca Compare May 2, 2020 20:40
@tmat tmat marked this pull request as ready for review May 2, 2020 22:21
@tmat tmat requested a review from a team as a code owner May 2, 2020 22:21
@tmat tmat requested a review from a team May 2, 2020 22:21
@tmat tmat merged commit ed310b2 into dotnet:master May 2, 2020
@ghost ghost added this to the Next milestone May 2, 2020
@tmat tmat deleted the KeepAliveSession branch May 2, 2020 22:21
@JoeRobich JoeRobich modified the milestones: Next, 16.7.P2 May 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants