Add networks and extend timeout to 120s
This commit is contained in:
parent
f4a71ee0b6
commit
608cef7a6a
|
@ -317,6 +317,12 @@ pub fn average_block_interval(chain_id: u64) -> Duration {
|
||||||
31337 => Duration::from_secs(10),
|
31337 => Duration::from_secs(10),
|
||||||
// arbitrum
|
// arbitrum
|
||||||
42161 => Duration::from_millis(500),
|
42161 => Duration::from_millis(500),
|
||||||
|
// gnosis
|
||||||
|
100 => Duration::from_secs(5),
|
||||||
|
// avalanche
|
||||||
|
43114 => Duration::from_secs(2),
|
||||||
|
// sepolia
|
||||||
|
11155111 => Duration::from_secs(12),
|
||||||
// web3-proxy tests
|
// web3-proxy tests
|
||||||
999_001_999 => Duration::from_secs(10),
|
999_001_999 => Duration::from_secs(10),
|
||||||
// anything else
|
// anything else
|
||||||
|
|
|
@ -386,7 +386,7 @@ impl ValidatedRequest {
|
||||||
} else if authorization.active_premium().await {
|
} else if authorization.active_premium().await {
|
||||||
Duration::from_secs(295)
|
Duration::from_secs(295)
|
||||||
} else {
|
} else {
|
||||||
Duration::from_secs(60)
|
Duration::from_secs(120)
|
||||||
}
|
}
|
||||||
.max(connect_timeout);
|
.max(connect_timeout);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue