File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ use graph::prelude::{
15
15
lazy_static ! {
16
16
/// Maximum number of blocks to request in each chunk.
17
17
static ref MAX_BLOCK_RANGE_SIZE : u64 = std:: env:: var( "GRAPH_ETHEREUM_MAX_BLOCK_RANGE_SIZE" )
18
- . unwrap_or( "100000 " . into( ) )
18
+ . unwrap_or( "1000 " . into( ) )
19
19
. parse:: <u64 >( )
20
20
. expect( "invalid GRAPH_ETHEREUM_MAX_BLOCK_RANGE_SIZE" ) ;
21
21
Original file line number Diff line number Diff line change 27
27
- ` ETHEREUM_BLOCK_BATCH_SIZE ` : number of Ethereum blocks to request in parallel
28
28
(defaults to 50)
29
29
- ` GRAPH_ETHEREUM_MAX_BLOCK_RANGE_SIZE ` : Maximum number of blocks to scan for
30
- triggers in each request (defaults to 100000 ).
30
+ triggers in each request (defaults to 1000 ).
31
31
- ` GRAPH_ETHEREUM_MAX_EVENT_ONLY_RANGE ` : Maximum range size for ` eth.getLogs `
32
32
requests that dont filter on contract address, only event signature.
33
33
- ` GRAPH_ETHEREUM_JSON_RPC_TIMEOUT ` : Timeout for Ethereum JSON-RPC requests.
@@ -109,6 +109,6 @@ those.
109
109
queries caused by mappings when processing blocks for a subgraph, and
110
110
queries caused by subscriptions. Defaults to no logging.
111
111
- ` STORE_CONNECTION_POOL_SIZE ` : How many simultaneous connections to allow to the store.
112
- Due to implementation details, this value may not be strictly adhered to. Defaults to 10.
112
+ Due to implementation details, this value may not be strictly adhered to. Defaults to 10.
113
113
- ` GRAPH_LOG_POI_EVENTS ` : Logs Proof of Indexing events deterministically.
114
114
This may be useful for debugging.
You can’t perform that action at this time.
0 commit comments