Skip to content

Commit 60a3c14

Browse files
committed
docs: document missing env vars, GRAPH_ETH_GET_LOGS_MAX_CONTRACTS and GRAPH_NODE_FIREHOSE_MAX_DECODE_SIZE
1 parent 9a51f3b commit 60a3c14

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

docs/environment-variables.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,13 @@ those.
5353
be used if the store uses more than one shard.
5454
- `GRAPH_ETHEREUM_GENESIS_BLOCK_NUMBER`: Specify genesis block number. If the flag
5555
is not set, the default value will be `0`.
56+
- `GRAPH_ETH_GET_LOGS_MAX_CONTRACTS`: Maximum number of contracts to query in a single `eth_getLogs` request.
57+
Defaults to 2000.
58+
59+
## Firehose configuration
60+
61+
- `GRAPH_NODE_FIREHOSE_MAX_DECODE_SIZE`: Maximum size of a message that can be
62+
decoded by the firehose. Defaults to 25MB.
5663

5764
## Running mapping handlers
5865

@@ -251,11 +258,11 @@ those.
251258
- `GRAPH_STORE_WRITE_BATCH_SIZE`: how many changes to accumulate during
252259
syncing in kilobytes before a write has to happen. The default is 10_000
253260
which corresponds to 10MB. Setting this to 0 disables write batching.
254-
- `GRAPH_MIN_HISTORY_BLOCKS`: Specifies the minimum number of blocks to
255-
retain for subgraphs with historyBlocks set to auto. The default value is 2 times the reorg threshold.
261+
- `GRAPH_MIN_HISTORY_BLOCKS`: Specifies the minimum number of blocks to
262+
retain for subgraphs with historyBlocks set to auto. The default value is 2 times the reorg threshold.
256263
- `GRAPH_ETHEREUM_BLOCK_RECEIPTS_CHECK_TIMEOUT`: Timeout for checking
257264
`eth_getBlockReceipts` support during chain startup, if this times out
258265
individual transaction receipts will be fetched instead. Defaults to 10s.
259266
- `GRAPH_POSTPONE_ATTRIBUTE_INDEX_CREATION`: During the coping of a subgraph
260-
postponing creation of certain indexes (btree, attribute based ones), would
261-
speed up syncing.
267+
postponing creation of certain indexes (btree, attribute based ones), would
268+
speed up syncing

0 commit comments

Comments
 (0)