docs: update spec and federation docs to match implementation

- Spec: status → Implemented, fix PATCH peer as new (not pre-existing),
  correct API paths, update component breakdown to match actual structure
- Federation docs: update relay rate limit from 30 to 90 req/min
This commit is contained in:
Jannis Braun
2026-04-01 02:15:37 +02:00
parent 42cf8afddd
commit 620649ec41
+1 -1
View File
@@ -398,7 +398,7 @@ interface FederationRelayResponse {
### Inbound Relay Dispatch (`POST /api/federation/relay`)
Body limit: 10 MB. Max 50 events per batch. Rate-limited to 30 requests/min per peer (sliding window, keyed by `peer.origin`). Returns 429 when exceeded.
Body limit: 10 MB. Max 50 events per batch. Rate-limited to 90 requests/min per peer (sliding window, keyed by `peer.origin`). Returns 429 when exceeded. Raised from 30 after FED-009 reduced the outbox worker interval from 10s to 1s — a busy sender can now hit 60 req/min during sustained traffic.
| eventType | Processor | contextType |
|-----------|-----------|-------------|