diff --git a/stack-orchestrator/config/watcher-secured-finance/watcher-config-template.toml b/stack-orchestrator/config/watcher-secured-finance/watcher-config-template.toml index 044dc00..5ffcf98 100644 --- a/stack-orchestrator/config/watcher-secured-finance/watcher-config-template.toml +++ b/stack-orchestrator/config/watcher-secured-finance/watcher-config-template.toml @@ -10,7 +10,6 @@ checkpointInterval = 2000 # Enable state creation - # CAUTION: Disable only if state creation is not desired or can be filled subsequently enableState = false subgraphPath = "./subgraph-build" @@ -77,6 +76,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 diff --git a/stack-orchestrator/stacks/secured-finance/stack.yml b/stack-orchestrator/stacks/secured-finance/stack.yml index 03c143b..bf49bc6 100644 --- a/stack-orchestrator/stacks/secured-finance/stack.yml +++ b/stack-orchestrator/stacks/secured-finance/stack.yml @@ -2,7 +2,7 @@ version: "1.0" name: secured-finance description: "Secured finance watcher stack" repos: - - git.vdb.to/cerc-io/secured-finance-watcher-ts@v0.1.1 + - git.vdb.to/cerc-io/secured-finance-watcher-ts@v0.1.2 containers: - cerc/watcher-secured-finance pods: