Skip to content

Commit

Permalink
adjust timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
ctian1 committed Dec 18, 2023
1 parent 84e78ad commit 7de28ed
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 7de28ed

Please sign in to comment.