Skip to content

Commit

Permalink
editoast: downgrade reqwest to mitigate timeout issues
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
multun committed May 21, 2024
1 parent 772f2ed commit f1b9e2f
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 32 deletions.
65 changes: 34 additions & 31 deletions editoast/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion editoast/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ redis = { version = "0.25.3", features = [
"tokio-comp",
"tokio-native-tls-comp",
] }
reqwest = { version = "0.12.3", features = ["json"] }
# 0.12.0 to 0.12.4 have weird timeout issues https://github.com/seanmonstar/reqwest/issues/2283
reqwest = { version = "0.11.27", features = ["json"] }
sentry = "0.32.3"
sentry-actix = "0.32.3"
serde.workspace = true
Expand Down

0 comments on commit f1b9e2f

Please sign in to comment.