Skip to content

Commit

Permalink
fix: wasm compatibility for RetryBackoff (#1666)
Browse files Browse the repository at this point in the history
  • Loading branch information
klkvr authored Nov 19, 2024
1 parent 30ee13f commit 86812db
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/transport/src/layers/retry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,10 @@ impl<S> RetryBackoffService<S> {

impl<S> Service<RequestPacket> for RetryBackoffService<S>
where
S: Service<RequestPacket, Response = ResponsePacket, Error = TransportError>
S: Service<RequestPacket, Future = TransportFut<'static>, Error = TransportError>
+ Send
+ 'static
+ Clone,
S::Future: Send + 'static,
{
type Response = ResponsePacket;
type Error = TransportError;
Expand Down

0 comments on commit 86812db

Please sign in to comment.