From f2260ecdba3cdbf5f990885d1f219b8832d117ab Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Wed, 25 Jan 2023 10:01:36 -0800 Subject: [PATCH] don't require hard limit send --- web3_proxy/src/rpcs/request.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/web3_proxy/src/rpcs/request.rs b/web3_proxy/src/rpcs/request.rs index 87e79ba8..d7f2aaf9 100644 --- a/web3_proxy/src/rpcs/request.rs +++ b/web3_proxy/src/rpcs/request.rs @@ -339,9 +339,7 @@ impl OpenRequestHandle { trace!("retry {} at: {:?}", self.conn, retry_at); - hard_limit_until - .send(retry_at) - .expect("sending hard limit retry times should always work"); + hard_limit_until.send_replace(retry_at); } }