From 0769e26afb3fd64fe2d9152ff2d125d33b2133e8 Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Fri, 13 Oct 2023 00:22:38 -0700 Subject: [PATCH] give initial start more time --- web3_proxy_cli/src/sub_commands/proxyd.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web3_proxy_cli/src/sub_commands/proxyd.rs b/web3_proxy_cli/src/sub_commands/proxyd.rs index 50af3c1e..e67af9ad 100644 --- a/web3_proxy_cli/src/sub_commands/proxyd.rs +++ b/web3_proxy_cli/src/sub_commands/proxyd.rs @@ -160,8 +160,8 @@ impl ProxydSubCommand { // give 30 seconds for the db to connect. if it does not connect, it will keep retrying } - info!("waiting up to 30 seconds for a head block"); - let max_wait_until = Instant::now() + Duration::from_secs(30); + info!("waiting up to 60 seconds for a head block"); + let max_wait_until = Instant::now() + Duration::from_secs(60); loop { select! { _ = sleep_until(max_wait_until) => {