Skip to content

Burst observatory: Fix interval validation, race conditions, and untested-slot sentinel#6106

Open
Jolymmiles wants to merge 3 commits into
XTLS:mainfrom
Jolymmiles:main
Open

Burst observatory: Fix interval validation, race conditions, and untested-slot sentinel#6106
Jolymmiles wants to merge 3 commits into
XTLS:mainfrom
Jolymmiles:main

Conversation

@Jolymmiles
Copy link
Copy Markdown
Contributor

  • Compare Interval to 10s
  • Serialize check rounds
  • Cancel pending pings on StopScheduler

Jolymmiles and others added 3 commits May 10, 2026 13:22
…sted-slot sentinel

- Compare Interval to 10s (was bare 10ns); old check almost never fired
- Serialize check rounds via runMu so initial and scheduled doCheck no longer overlap
- Cancel pending pings on StopScheduler via runCtx + WaitGroup; replaces leaky time.AfterFunc
- Use rttUntested sentinel for unfilled buffer slots instead of magic zero
@Jolymmiles
Copy link
Copy Markdown
Contributor Author

i think we should rerun checks

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