diff --git a/examples/simple.rs b/examples/simple.rs index 8576ddd..b040b77 100644 --- a/examples/simple.rs +++ b/examples/simple.rs @@ -22,9 +22,7 @@ async fn main() -> eyre::Result<()> { let make_service = tower::service_fn(|addr: &AddrStream| { tracing::debug!(remote_addr = %addr.remote_addr, local_addr = %addr.local_addr, "accept"); - let service = tower::ServiceBuilder::new() - .buffer(16) - .service_fn(handle_req); + let service = tower::ServiceBuilder::new().service_fn(handle_req); futures::future::ok::<_, std::convert::Infallible>(service) });