From 8731c585ed83c2215a3a508d6fc4705a2940e2b3 Mon Sep 17 00:00:00 2001 From: Harsh Modi Date: Thu, 14 Mar 2024 10:44:55 -0700 Subject: [PATCH] delete unnecessary () --- blade/bep/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blade/bep/lib.rs b/blade/bep/lib.rs index 55e3c3b..1fa96f0 100644 --- a/blade/bep/lib.rs +++ b/blade/bep/lib.rs @@ -359,7 +359,7 @@ pub async fn run_bes_grpc( handlers: Arc::new(handlers), }; Server::builder() - .tcp_keepalive(Some((std::time::Duration::from_secs(20)))) + .tcp_keepalive(Some(std::time::Duration::from_secs(20))) .http2_keepalive_interval(Some(std::time::Duration::from_secs(20))) .http2_keepalive_timeout(Some(std::time::Duration::from_secs(30))) .add_service(