Skip to content

Commit

Permalink
refactor: increase timeouts (#303)
Browse files Browse the repository at this point in the history
  • Loading branch information
ctian1 authored Dec 18, 2023
1 parent f3c1b96 commit f3bcbe7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plonky2x/core/src/utils/eth/beacon/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<GetBeaconPartialValidatorsRoot> = response.json()?;
assert!(response.success);
Expand Down Expand Up @@ -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<GetBeaconPartialBalancesRoot> = response.json()?;
assert!(response.success);
Expand Down

0 comments on commit f3bcbe7

Please sign in to comment.