Skip to content

fix(filesync): replace suspend detector with app-level heartbeat - #23

Merged
guydols merged 1 commit into
mainfrom
dev
Sep 21, 2026
Merged

guydols merged 1 commit into
mainfrom
dev

Conversation

@guydols

@guydols guydols commented Sep 21, 2026

Copy link
Copy Markdown
Owner

Removes the wall-clock SuspendDetector thread and its resume_pending plumbing from the GUI manager in favour of Ping/Pong liveness in the transport io_loop. Heartbeat timeouts use SystemTime so suspend gaps trip on the next maintenance check, with an immediate-reconnect fast-path in client and GUI session loops instead of backoff waits.

Bumps PROTOCOL_VERSION 8 -> 9; Ping/Pong are appended at the end of Message so existing bincode discriminants are unchanged.

Removes the wall-clock SuspendDetector thread and its resume_pending
plumbing from the GUI manager in favour of Ping/Pong liveness in the
transport io_loop. Heartbeat timeouts use SystemTime so suspend gaps
trip on the next maintenance check, with an immediate-reconnect
fast-path in client and GUI session loops instead of backoff waits.

Bumps PROTOCOL_VERSION 8 -> 9; Ping/Pong are appended at the end of
Message so existing bincode discriminants are unchanged.
@guydols
guydols merged commit e8897d3 into main Sep 21, 2026
1 check failed
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.

1 participant