Skip to content

Commit 39c3cf8

Browse files
committed
editoast: downgrade reqwest to mitigate timeout issues
Somewhere between 0.11.27 and 0.12.3, a regression related to timeout handling was introduced. Other users seem to have similar issues: seanmonstar/reqwest#2283 Interestingly enough, this bug report mentions http/2, but the server we're querying only supports http/1.1.
1 parent 772f2ed commit 39c3cf8

File tree

2 files changed

+37
-32
lines changed

2 files changed

+37
-32
lines changed

editoast/Cargo.lock

+34-31
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

editoast/Cargo.toml

+3-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,9 @@ redis = { version = "0.25.3", features = [
9494
"tokio-comp",
9595
"tokio-native-tls-comp",
9696
] }
97-
reqwest = { version = "0.12.3", features = ["json"] }
97+
# 0.12.0 to 0.12.4 have weird timeout issues https://github.com/seanmonstar/reqwest/issues/2283
98+
# This bug was introduced between 0.12.0 and 0.12.3.
99+
reqwest = { version = "0.11.27", features = ["json"] }
98100
sentry = "0.32.3"
99101
sentry-actix = "0.32.3"
100102
serde.workspace = true

0 commit comments

Comments
 (0)