forked from KokaKiwi/boitalettres
fix
This commit is contained in:
parent
d71d40d582
commit
ee34bec71a
1 changed files with 1 additions and 3 deletions
|
@ -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)
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue