#84 residual: per-homeserver-domain fair-pending sub-cap #88
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dark/nether-voicebridge#88
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up to the #84 core (shipped alpha.18: global cross-MXID rate limiter + swept stamp maps). Residual: the global 16-slot PENDING_LINK_CAP can still be filled by a federated-MXID Sybil set sharing one homeserver, freezing honest onboarding. Fix: a per-source-homeserver-domain sub-cap under PENDING_LINK_CAP (extract domain from requester MXID), reserving headroom so no single origin domain occupies the whole table; expire idle-unapproved entries faster when near-full.
Fixed + shipped in v0.3.0-alpha.19 (deployed 2026-07-11). A per-foreign-domain cap (
PER_DOMAIN_PENDING_CAP=3) bounds how much of the shared 16-slot pending table one homeserver's users can hold. The home server is exempt — it is invite-gated (not a Sybil vector), and capping it would throttle legitimate concurrent onboarding. Hardcoded for now; promote to a[limits]knob later if a deployment needs tuning.