Skip to content

Conversation

bjulian5
Copy link

@bjulian5 bjulian5 commented Oct 8, 2025

When laptop wakes from sleep, the ping timer's elapsed time exceeds the normal interval. This triggers immediate timeout checks on all clients that haven't responded during the sleep period, causing false disconnections. Reset all client pong timestamps after detecting wake events (>1.5x interval elapsed) to give clients a fresh keepalive window.

When laptop wakes from sleep, the ping timer's elapsed time exceeds the normal
interval. This triggers immediate timeout checks on all clients that haven't
responded during the sleep period, causing false disconnections. Reset all
client pong timestamps after detecting wake events (>1.5x interval elapsed)
to give clients a fresh keepalive window.
Copy link
Member

@ThomasK33 ThomasK33 left a comment

Choose a reason for hiding this comment

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

Thanks. Could you please rerun the code formatter, then we're good to merge.

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.

2 participants