From f3b0f85a9d045c370f8af4eea6897d3fe75a40e7 Mon Sep 17 00:00:00 2001 From: Gustavo Inacio Date: Mon, 7 Oct 2024 14:15:04 +0200 Subject: [PATCH] fix: check ravs every 15 minutes Signed-off-by: Gustavo Inacio --- packages/indexer-common/src/allocations/tap-collector.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/indexer-common/src/allocations/tap-collector.ts b/packages/indexer-common/src/allocations/tap-collector.ts index 95a51564e..02f6373c6 100644 --- a/packages/indexer-common/src/allocations/tap-collector.ts +++ b/packages/indexer-common/src/allocations/tap-collector.ts @@ -30,7 +30,8 @@ import { TAPSubgraph } from '../tap-subgraph' import { NetworkSubgraph } from '../network-subgraph' import gql from 'graphql-tag' -const RAV_CHECK_INTERVAL_MS = 30_000 +// every 15 minutes +const RAV_CHECK_INTERVAL_MS = 900_000 interface RavMetrics { ravRedeemsSuccess: Counter