Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lsp-devtools: Retry connection indefinitely #77

Merged
merged 3 commits into from
Aug 19, 2023

Conversation

alcarney
Copy link
Member

Using stamina the AgentClient will repeatedly try to connect to a server instance, backing off until it's trying once every 60 seconds.

Meanwhile the agent will run as normal, allowing the lsp client and server to communicate with each other. Captured messages will be stored up until a connection is available when they will forwarded onto the AgentServer en masse.

Using `stamina` the `AgentClient` will repeatedly try to connect to a
server instance, backing off until it's trying once every 60 seconds.

Meanwhile the agent will run as normal, allowing the lsp client and
server to communicate with each other. Captured messages will be
stored up until a connection is available when they will forwarded
onto the `AgentServer` en masse.
Also
- Comment out websocket code for now
- Fix tests
- Enable coverage
@alcarney alcarney merged commit 5a18119 into swyddfa:develop Aug 19, 2023
4 of 5 checks passed
@alcarney alcarney deleted the retry-connection branch August 19, 2023 23:05
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.

None yet

1 participant