Jade Ellis
71e101a4dc
style: Run formatting
2026-09-11 15:54:42 +01:00
Erwan Leboucher
aa92bf8814
fix(federation): Read the backoff window once when gating requests
2026-09-11 14:17:45 +00:00
Ginger
9fbabe2210
chore: Reformat with latest nightly
2026-09-01 12:55:05 -04:00
timedout
f1a77e0404
fix: Address review comments
2026-08-20 00:57:11 +00:00
timedout
a916fdf09a
fix: Mark even more error codes as stale based on observed data
2026-08-20 00:57:11 +00:00
timedout
dde1f12814
style: Reformat
2026-08-20 00:57:11 +00:00
timedout
22f9b9b91d
fix(sender): retry_after duration can be negative
2026-08-20 00:57:11 +00:00
timedout
6104c68768
style: Centralise decision for stale marker
2026-08-20 00:57:11 +00:00
timedout
9ed8c230fa
feat: Update servers-in-backoff command to annotate stale info
2026-08-20 00:57:11 +00:00
timedout
ef5bf7c977
feat: Clear destinations cache when a remote is potentially stale
2026-08-20 00:57:11 +00:00
timedout
53db584741
feat: Add debug command to extract backoff info
2026-08-20 00:57:11 +00:00
timedout
2d713c1631
feat: Use an explicit backoff base value
2026-08-20 00:57:11 +00:00
timedout
79c9f7da30
chore: Tidy up backoff helper code
2026-08-20 00:57:11 +00:00
timedout
98466e5243
style: Remove unsafe arithmetic
2026-08-20 00:57:11 +00:00
timedout
8c1a84e907
fix: Don't honour unhealthy hits unless the block period has already expired
2026-08-20 00:57:11 +00:00
timedout
8f66cbb6b9
feat: Clear remote health tracking map when cache is cleared
2026-08-20 00:57:11 +00:00
timedout
e1866df682
feat: Trace why remotes get health marked
2026-08-20 00:57:11 +00:00
timedout
213bf6fb70
feat: Refuse to send requests to unhealthy servers
...
Also marks them as online if a request succeeds
2026-08-20 00:57:11 +00:00
timedout
785db0bdba
chore: Move health tracking to federation service
...
Otherwise federation would have to depend on sender
2026-08-20 00:57:11 +00:00
theS1LV3R
0d5789f727
chore: Merge resolver service into client service
2026-07-09 18:22:25 +00:00
Jade Ellis
a4e64383b7
refactor: Ruma upstraming, bake a little more
2026-04-28 09:16:51 -04:00
Ginger and Jade Ellis
204bc1367e
refactor: Ruma upstreaming, half-baked edition
...
Co-authored-by: Jade Ellis <jade@ellis.link >
2026-04-28 09:16:51 -04:00
Jade Ellis
0eb9e4f3d2
refactor: Centralize server forbidden checks into moderation module
...
This moves all checks related to `forbidden_remote_server_names`,
`forbidden_remote_room_directory_server_names` and
`prevent_media_downloads_from` to a new `moderation` module.
This is useful for implementing more complicated logic globally.
Mostly the changes from #673 , but is also relevant for #750
2025-04-19 23:37:54 +01:00
June Clementine Strawberry
a1e1f40ded
run cargo fix for rust 2024 changes and rustfmt
...
Signed-off-by: June Clementine Strawberry <strawberry@puppygock.gay >
2025-02-23 01:17:45 -05:00
Jason Volk
4a2d0d35bc
split federation request from sending service
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-01-28 18:36:00 +00:00