continuwuity/src/api
Val Lorentz d092820699 Fetch server keys concurrently
This speeds up handling of /_matrix/federation/v1/send/:transaction_id
when more than one event contains unknown keys.

In particular, when receiving multiple PDUs with dead servers in their
auth chain, timeouts of each server accumulate and can make handling of
incoming requests take several minutes, to the point the client closes
the connection (eg. matrix.org has a 2 minute timeout), causing new
events to be dropped eventually.
2023-11-25 11:38:28 -05:00
..
client_server Fetch server keys concurrently 2023-11-25 11:38:28 -05:00
ruma_wrapper Fetch server keys concurrently 2023-11-25 11:38:28 -05:00
appservice_server.rs use a proper function for this instead of checking 200 2023-10-28 22:36:47 -04:00
mod.rs cargo fmt 2022-10-10 14:02:01 +02:00
server_server.rs Fetch server keys concurrently 2023-11-25 11:38:28 -05:00