From f7ff7d1372d80387112b697384a6653d9fe8e936 Mon Sep 17 00:00:00 2001 From: Theo Butler Date: Wed, 20 Nov 2024 13:24:17 -0500 Subject: [PATCH] fix: extend network subgraph update timeout --- src/network/service.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/network/service.rs b/src/network/service.rs index 4929acce..b894652d 100644 --- a/src/network/service.rs +++ b/src/network/service.rs @@ -226,9 +226,7 @@ fn spawn_updater_task( loop { timer.tick().await; - match fetch_and_preprocess_subgraph_info(&mut subgraph_client, Duration::from_secs(30)) - .await - { + match fetch_and_preprocess_subgraph_info(&mut subgraph_client, update_interval).await { Ok(info) => network_info = Some(info), Err(network_subgraph_update_err) => tracing::error!(%network_subgraph_update_err), };