2021-11-16 09:17:03 +00:00
|
|
|
[server]
|
|
|
|
host = "127.0.0.1"
|
|
|
|
port = 3012
|
|
|
|
kind = "active"
|
|
|
|
|
|
|
|
# Checkpointing state.
|
|
|
|
checkpointing = true
|
|
|
|
|
|
|
|
# Checkpoint interval in number of blocks.
|
|
|
|
checkpointInterval = 2000
|
|
|
|
|
|
|
|
subgraphPath = "../graph-node/test/subgraph/eden"
|
2022-09-09 10:53:41 +00:00
|
|
|
|
2022-11-10 11:26:06 +00:00
|
|
|
# Enable state creation
|
|
|
|
# CAUTION: Disable only if state creation is not desired or can be filled subsequently
|
|
|
|
enableState = true
|
2022-09-09 10:53:41 +00:00
|
|
|
|
|
|
|
# Interval to restart wasm instance periodically
|
2021-12-21 10:28:17 +00:00
|
|
|
wasmRestartBlocksInterval = 20
|
2021-11-16 09:17:03 +00:00
|
|
|
|
2022-07-22 07:47:56 +00:00
|
|
|
# Boolean to filter logs by contract.
|
2022-08-08 10:28:13 +00:00
|
|
|
filterLogs = true
|
2022-07-22 07:47:56 +00:00
|
|
|
|
|
|
|
# Max block range for which to return events in eventsInRange GQL query.
|
|
|
|
# Use -1 for skipping check on block range.
|
|
|
|
maxEventsBlockRange = 1000
|
|
|
|
|
2022-10-19 08:56:10 +00:00
|
|
|
# Interval in number of blocks at which to clear entities cache.
|
|
|
|
clearEntitiesCacheInterval = 1000
|
|
|
|
|
2022-11-16 14:31:18 +00:00
|
|
|
# GQL cache settings
|
|
|
|
[server.gqlCache]
|
|
|
|
enabled = true
|
|
|
|
|
|
|
|
# Max in-memory cache size (in bytes) (default 8 MB)
|
|
|
|
# maxCacheSize
|
|
|
|
|
|
|
|
# GQL cache-control max-age settings (in seconds)
|
|
|
|
maxAge = 15
|
|
|
|
timeTravelMaxAge = 86400 # 1 day
|
|
|
|
|
2022-08-03 10:56:51 +00:00
|
|
|
[metrics]
|
|
|
|
host = "127.0.0.1"
|
|
|
|
port = 9000
|
2022-09-01 08:47:43 +00:00
|
|
|
[metrics.gql]
|
|
|
|
port = 9001
|
2022-08-03 10:56:51 +00:00
|
|
|
|
2021-11-16 09:17:03 +00:00
|
|
|
[database]
|
|
|
|
type = "postgres"
|
|
|
|
host = "localhost"
|
|
|
|
port = 5432
|
|
|
|
database = "eden-watcher"
|
|
|
|
username = "postgres"
|
|
|
|
password = "postgres"
|
|
|
|
synchronize = true
|
|
|
|
logging = false
|
|
|
|
|
|
|
|
[upstream]
|
|
|
|
[upstream.ethServer]
|
2022-08-08 10:28:13 +00:00
|
|
|
gqlApiEndpoint = "http://127.0.0.1:8083/graphql"
|
|
|
|
rpcProviderEndpoint = "http://127.0.0.1:8082"
|
2021-11-16 09:17:03 +00:00
|
|
|
|
|
|
|
[upstream.cache]
|
|
|
|
name = "requests"
|
|
|
|
enabled = false
|
|
|
|
deleteOnStart = false
|
|
|
|
|
|
|
|
[jobQueue]
|
|
|
|
dbConnectionString = "postgres://postgres:postgres@localhost/eden-watcher-job-queue"
|
|
|
|
maxCompletionLagInSecs = 300
|
|
|
|
jobDelayInMilliSecs = 100
|
2021-12-13 10:56:01 +00:00
|
|
|
eventsInBatch = 50
|
2022-10-20 13:16:56 +00:00
|
|
|
blockDelayInMilliSecs = 2000
|
|
|
|
prefetchBlocksInMem = true
|
2022-11-23 12:50:16 +00:00
|
|
|
prefetchBlockCount = 10
|