perf: Don't attempt to process disconnected rooms #1316

Open
nex wants to merge 4 commits from nex/perf/dont-process-disconnected-rooms into main

4 commits

Author SHA1 Message Date
d248cdc808
feat: Use info level logs for residency check failures
All checks were successful
Documentation / Build and Deploy Documentation (pull_request) Successful in 1m14s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 2m0s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 28m18s
2026-01-27 23:26:46 +00:00
ee3fbb6127
chore: Add news fragment 2026-01-27 23:26:46 +00:00
f6fb8c45cd
perf: Don't handle expensive requests for rooms we aren't in
Mostly borrowed from dendrite:

a042861/federationapi/routing/routing.go (L601)
2026-01-27 23:26:45 +00:00
50c493f60a
perf: Don't handle PDUs for rooms we aren't in 2026-01-27 23:26:45 +00:00