Skip to content

Clock skew: a clock step forward is noticed right away - #85

Merged
ldemailly merged 1 commit into
mainfrom
skew-step
Nov 13, 2026
Merged

ldemailly merged 1 commit into
mainfrom
skew-step

Conversation

@ldemailly

Copy link
Copy Markdown
Member

The estimate is the smallest of the last 6 samples. When a peer's skew steps up (e.g. our own clock gets corrected forward), the old smaller samples kept the warning on for up to a minute. Now when the last 2 samples are both above the older ones by more than max(limit, 50ms), the older ones are dropped. One delayed sample still doesn't count.

…ot after the old ones age out (up to a minute)
@ldemailly
ldemailly merged commit 23edac4 into main Nov 13, 2026
7 checks passed
@ldemailly
ldemailly deleted the skew-step branch November 13, 2026 20:20
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