Skip to content

Commit

Permalink
Add the forgotten timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
YuanYuYuan committed Oct 30, 2023
1 parent 8319744 commit dc4d0df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion io/zenoh-transport/src/common/pipeline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ impl TransmissionPipelineConsumer {

// Wait for the backoff to expire or for a new message
let _ =
tokio::time::timeout(Duration::from_nanos(bo as u64), self.n_out_r.recv_async())
async_std::future::timeout(Duration::from_nanos(bo as u64), self.n_out_r.recv_async())
.await;
}
None
Expand Down

0 comments on commit dc4d0df

Please sign in to comment.