Upgrade ajna-watcher and set getLogsClientSwitchThresholdInSecs

This commit is contained in:
Nabarun 2024-07-04 14:24:17 +05:30
parent 3b9422095c
commit 7d3a7532ab
2 changed files with 6 additions and 3 deletions

View File

@ -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"
@ -77,6 +76,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
@ -92,7 +95,7 @@
blockDelayInMilliSecs = 30000 blockDelayInMilliSecs = 30000
# Number of blocks by which block processing lags behind head # Number of blocks by which block processing lags behind head
blockProcessingOffset = 0 blockProcessingOffset = 3
# Boolean to switch between modes of processing events when starting the server. # Boolean to switch between modes of processing events when starting the server.
# Setting to true will fetch filtered events and required blocks in a range of blocks and then process them. # Setting to true will fetch filtered events and required blocks in a range of blocks and then process them.

View File

@ -2,7 +2,7 @@ version: "1.0"
name: ajna name: ajna
description: "Ajna watcher stack" description: "Ajna watcher stack"
repos: repos:
- git.vdb.to/cerc-io/ajna-watcher-ts@v0.1.13 - git.vdb.to/cerc-io/ajna-watcher-ts@v0.1.14
containers: containers:
- cerc/watcher-ajna - cerc/watcher-ajna
pods: pods: