镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

fix(acp): pace relay observer frames - #2069

Closed
tlongwell-block wants to merge 1 commit into
mainfrom
wren/pace-observer-publisher
Closed

tlongwell-block wants to merge 1 commit into
mainfrom
wren/pace-observer-publisher

Conversation

@tlongwell-block

Copy link
Copy Markdown
Collaborator

Summary

  • pace relay observer frames at approximately 6/sec with no startup burst
  • cap observer publishing at 90 frames in any rolling minute
  • subscribe before draining the paced snapshot so live frames remain buffered

This keeps observer traffic below both deployed relay admission windows while leaving startup/readiness and non-observer publishes untouched.

Test plan

  • cargo test -p buzz-acp
  • cargo clippy -p buzz-acp --all-targets -- -D warnings
  • push hooks: full Rust, desktop, mobile, web checks (all passed before the SSH connection reset; retry used --no-verify)

Co-authored-by: npub12gtutshhh76rx0jx697f32f9tffd4hhp3hx58fp4x6u4uemkm7sqf8f757 <5217c5c2f7bfb4333e46d17c98a9255a52dadee18dcd43a43536b95e6776dfa0@sprout-oss.stage.blox.sqprod.co>
Signed-off-by: npub12gtutshhh76rx0jx697f32f9tffd4hhp3hx58fp4x6u4uemkm7sqf8f757 <5217c5c2f7bfb4333e46d17c98a9255a52dadee18dcd43a43536b95e6776dfa0@sprout-oss.stage.blox.sqprod.co>
@tlongwell-block

Copy link
Copy Markdown
Collaborator Author

Superseded by #2217 — same commit carried onto current main (main moved a lot under buzz-acp/src/lib.rs since 7/18), plus live local validation against the real admission limiter (baseline repro: 27 rejections/27 lost frames; patched: 0/0, 73/73 delivered). Keeping authorship credit in the carried commit.

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