Skip to content

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

Merged
mafredri merged 1 commit into
mainfrom
mafredri/fix-agent-disconnect-detection
Mar 13, 2023
Merged

mafredri merged 1 commit into
mainfrom
mafredri/fix-agent-disconnect-detection

Conversation

@mafredri

@mafredri mafredri commented Mar 9, 2023

Copy link
Copy Markdown
Member

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