We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4aad5af commit 539d6f7Copy full SHA for 539d6f7
1 file changed
tonic/src/transport/channel/mod.rs
@@ -157,7 +157,7 @@ impl Channel {
157
158
let svc = Connection::lazy(connector, endpoint);
159
let (svc, worker) = Buffer::pair(Either::A(svc), buffer_size);
160
- executor.execute(Box::pin(worker));
+ executor.execute(worker);
161
162
Channel { svc }
163
}
@@ -176,7 +176,7 @@ impl Channel {
176
.await
177
.map_err(super::Error::from_source)?;
178
179
180
181
Ok(Channel { svc })
182
0 commit comments