From f3bcbe734dbcfb5cf1d91bb107eca76e08860f94 Mon Sep 17 00:00:00 2001 From: Chris T Date: Mon, 18 Dec 2023 13:03:48 -0800 Subject: [PATCH] refactor: increase timeouts (#303) --- plonky2x/core/src/utils/eth/beacon/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plonky2x/core/src/utils/eth/beacon/mod.rs b/plonky2x/core/src/utils/eth/beacon/mod.rs index 528254053..fde7e04f7 100644 --- a/plonky2x/core/src/utils/eth/beacon/mod.rs +++ b/plonky2x/core/src/utils/eth/beacon/mod.rs @@ -389,7 +389,7 @@ impl BeaconClient { let client = Client::new(); let response = client .get(endpoint) - .timeout(Duration::from_secs(300)) + .timeout(Duration::from_secs(900)) .send()?; let response: CustomResponse = response.json()?; assert!(response.success); @@ -508,7 +508,7 @@ impl BeaconClient { let client = Client::new(); let response = client .get(endpoint) - .timeout(Duration::from_secs(300)) + .timeout(Duration::from_secs(900)) .send()?; let response: CustomResponse = response.json()?; assert!(response.success);