Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
0x676e67 committed Jan 19, 2025
1 parent 86fd993 commit aa81de0
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/client/http.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1384,10 +1384,9 @@ impl Client {
.map(tokio::time::sleep)
.map(Box::pin);

let read_timeout_fut = read_timeout
.or(self.inner.read_timeout)
.map(tokio::time::sleep)
.map(Box::pin);
let read_timeout = read_timeout.or(self.inner.read_timeout);

let read_timeout_fut = read_timeout.map(tokio::time::sleep).map(Box::pin);

Pending {
inner: PendingInner::Request(PendingRequest {
Expand Down

0 comments on commit aa81de0

Please sign in to comment.