Update sushiswap-v3 watcher config template
This commit is contained in:
parent
f1fdc48aaa
commit
9c0680e5b4
@ -10,7 +10,6 @@
|
|||||||
checkpointInterval = 2000
|
checkpointInterval = 2000
|
||||||
|
|
||||||
# Enable state creation
|
# Enable state creation
|
||||||
# CAUTION: Disable only if state creation is not desired or can be filled subsequently
|
|
||||||
enableState = false
|
enableState = false
|
||||||
|
|
||||||
subgraphPath = "./subgraph-build"
|
subgraphPath = "./subgraph-build"
|
||||||
@ -24,7 +23,7 @@
|
|||||||
# Flag to specify whether RPC endpoint supports block hash as block tag parameter
|
# Flag to specify whether RPC endpoint supports block hash as block tag parameter
|
||||||
rpcSupportsBlockHashParam = false
|
rpcSupportsBlockHashParam = false
|
||||||
|
|
||||||
# Server GQL config
|
# GQL server config
|
||||||
[server.gql]
|
[server.gql]
|
||||||
path = "/"
|
path = "/"
|
||||||
|
|
||||||
@ -46,6 +45,14 @@
|
|||||||
maxAge = 15
|
maxAge = 15
|
||||||
timeTravelMaxAge = 86400 # 1 day
|
timeTravelMaxAge = 86400 # 1 day
|
||||||
|
|
||||||
|
# ETH RPC server config
|
||||||
|
[server.ethRPC]
|
||||||
|
enabled = true
|
||||||
|
path = "/rpc"
|
||||||
|
|
||||||
|
# Max number of logs that can be returned in a single getLogs request (default: 10000)
|
||||||
|
getLogsResultLimit = 10000
|
||||||
|
|
||||||
[metrics]
|
[metrics]
|
||||||
host = "0.0.0.0"
|
host = "0.0.0.0"
|
||||||
port = 9000
|
port = 9000
|
||||||
@ -77,6 +84,10 @@
|
|||||||
# Boolean flag to filter event logs by topics
|
# Boolean flag to filter event logs by topics
|
||||||
filterLogsByTopics = true
|
filterLogsByTopics = true
|
||||||
|
|
||||||
|
# Switch clients if eth_getLogs call takes more than threshold (in secs)
|
||||||
|
# Set to 0 for disabling switching
|
||||||
|
getLogsClientSwitchThresholdInSecs = 30
|
||||||
|
|
||||||
[upstream.cache]
|
[upstream.cache]
|
||||||
name = "requests"
|
name = "requests"
|
||||||
enabled = false
|
enabled = false
|
||||||
|
@ -2,7 +2,7 @@ version: "1.0"
|
|||||||
name: sushiswap-v3
|
name: sushiswap-v3
|
||||||
description: "SushiSwap v3 watcher stack"
|
description: "SushiSwap v3 watcher stack"
|
||||||
repos:
|
repos:
|
||||||
- github.com/cerc-io/sushiswap-v3-watcher-ts@v0.1.14
|
- github.com/cerc-io/sushiswap-v3-watcher-ts@v0.1.17
|
||||||
containers:
|
containers:
|
||||||
- cerc/watcher-sushiswap-v3
|
- cerc/watcher-sushiswap-v3
|
||||||
pods:
|
pods:
|
||||||
|
Loading…
Reference in New Issue
Block a user