Upgrade ajna and sushi-v3 watchers to switch RPC endpoint on slow eth_getLogs request #862

Open
nabarun wants to merge 6 commits from deep-stack/stack-orchestrator:ng-watchers-switch-slow-logs into main
3 changed files with 7 additions and 3 deletions
Showing only changes of commit c29237a0db - Show all commits

View File

@ -77,6 +77,10 @@
# Boolean flag to filter event logs by topics
filterLogsByTopics = true
# Switch clients if eth_getLogs call takes more than threshold (in secs)
# Set to 0 for disabling switching
getLogsClientSwitchThresholdInSecs = 30
[upstream.cache]
name = "requests"
enabled = false
@ -92,7 +96,7 @@
blockDelayInMilliSecs = 30000
# 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.
# 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
description: "Ajna watcher stack"
repos:
- git.vdb.to/cerc-io/ajna-watcher-ts@v0.1.14
- git.vdb.to/cerc-io/ajna-watcher-ts@v0.1.15
containers:
- cerc/watcher-ajna
pods:

View File

@ -2,7 +2,7 @@ version: "1.0"
name: sushiswap-v3
description: "SushiSwap v3 watcher stack"
repos:
- github.com/cerc-io/sushiswap-v3-watcher-ts@v0.1.14
- github.com/cerc-io/sushiswap-v3-watcher-ts@v0.1.15
containers:
- cerc/watcher-sushiswap-v3
pods: