2 files changed, 2 insertions, 4 deletions
diff --git a/rust/src/http/mod.rs b/rust/src/http/mod.rs
index b533a3d36d..508f7cb048 100644
--- a/rust/src/http/mod.rs
+++ b/rust/src/http/mod.rs
@@ -110,8 +110,6 @@ impl HttpClient {
let bytes = hyper::body::to_bytes(body).await?;
let content = Bytes(bytes.to_vec());
- info!("DONE");
-
Ok(MatrixResponse {
code,
phrase,
@@ -137,7 +135,6 @@ impl HttpClient {
body: Option<Vec<u8>>,
) -> PyResult<&'a PyAny> {
pyo3::prepare_freethreaded_python();
- info!("REQUEST");
let client = self.clone();
diff --git a/synapse/http/matrixfederationclient.py b/synapse/http/matrixfederationclient.py
index 670164923a..88b1c22802 100644
--- a/synapse/http/matrixfederationclient.py
+++ b/synapse/http/matrixfederationclient.py
@@ -638,7 +638,8 @@ class MatrixFederationHttpClient:
# response = await make_deferred_yieldable(request_deferred)
- response_d = self._rust_client.request(
+ response_d = run_in_background(
+ self._rust_client.request,
url_str,
request.method,
headers_dict,
|