fix: Apply timeouts in more places

This commit is contained in:
Jade Ellis
2026-01-05 18:09:18 +00:00
parent da956b1a2a
commit d3ee9c407a
8 changed files with 77 additions and 46 deletions
+2 -2
View File
@@ -245,7 +245,7 @@ impl Service {
.expect("http::response::Builder is usable"),
);
let body = response.bytes().await?; // TODO: handle timeout
let body = response.bytes().await?;
if !status.is_success() {
debug_warn!("Push gateway response body: {:?}", string_from_bytes(&body));
@@ -288,7 +288,7 @@ impl Service {
let mut notify = None;
let mut tweaks = Vec::new();
if event.room_id().is_none() {
// TODO(hydra): does this matter?
// This only affects v12+ create events
return Ok(());
}