We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 836e44d commit 40ca552Copy full SHA for 40ca552
chain/ethereum/src/ethereum_adapter.rs
@@ -46,9 +46,10 @@ lazy_static! {
46
.expect("invalid ETHEREUM_BLOCK_BATCH_SIZE env var");
47
48
/// This should not be too large that it causes requests to timeout without us catching it, nor
49
- /// too small that it causes us to timeout requests that would've succeeded.
+ /// too small that it causes us to timeout requests that would've succeeded. We've seen
50
+ /// successful `eth_getLogs` requests take over 120 seconds.
51
static ref JSON_RPC_TIMEOUT: u64 = std::env::var("GRAPH_ETHEREUM_JSON_RPC_TIMEOUT")
- .unwrap_or("120".into())
52
+ .unwrap_or("180".into())
53
.parse::<u64>()
54
.expect("invalid GRAPH_ETHEREUM_JSON_RPC_TIMEOUT env var");
55
0 commit comments