Skip to content

Commit

Permalink
Increase poller timeout (#239)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmantica11 authored Nov 2, 2024
1 parent a4dd65c commit 2e40128
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ pub async fn fetch_current_slot_with_infinite_retry(client: &RpcClient) -> u64 {
pub fn get_rpc_client(rpc_url: &str) -> Arc<RpcClient> {
Arc::new(RpcClient::new_with_timeout_and_commitment(
rpc_url.to_string(),
Duration::from_secs(30),
Duration::from_secs(90),
CommitmentConfig::confirmed(),
))
}

0 comments on commit 2e40128

Please sign in to comment.