Skip to content

fix(coderd): Detect agent disconnect via inactivity #6528

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

Merged
merged 1 commit into from
Mar 13, 2023

Conversation

mafredri
Copy link
Member

@mafredri mafredri commented Mar 9, 2023

The increased Ping interval is not ideal, but this is a fairly simple proposal for detecting inactive agents which can happen when the network becomes unreachable.

Fixes #5901

@mafredri mafredri self-assigned this Mar 9, 2023
@mafredri mafredri requested review from bpmct and kylecarbs March 9, 2023 14:56
@mafredri mafredri force-pushed the mafredri/fix-agent-disconnect-detection branch from d35f8ff to 50be1ca Compare March 9, 2023 14:57
@mafredri mafredri force-pushed the mafredri/fix-agent-disconnect-detection branch from 50be1ca to dc70eab Compare March 9, 2023 14:58
@mafredri mafredri merged commit 179d9e0 into main Mar 13, 2023
@mafredri mafredri deleted the mafredri/fix-agent-disconnect-detection branch March 13, 2023 09:54
@github-actions github-actions bot locked and limited conversation to collaborators Mar 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can the Coder agent immediately realize it's disconnected?
2 participants