From 600fa793899836fe03b2b222b58fd2a8ac337c00 Mon Sep 17 00:00:00 2001 From: Daniel Werner Date: Thu, 26 Dec 2024 11:39:20 -0800 Subject: [PATCH] common: change getPendingRAVs PAGE_SIZE from 1000 to 200, fix http 413 --- 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 d4c48957b..00b8a930a 100644 --- a/packages/indexer-common/src/allocations/tap-collector.ts +++ b/packages/indexer-common/src/allocations/tap-collector.ts @@ -33,7 +33,8 @@ import { getEscrowAccounts } from './escrow-accounts' // every 15 minutes const RAV_CHECK_INTERVAL_MS = 900_000 -const PAGE_SIZE = 1000 +// 1000 here was leading to http 413 request entity too large +const PAGE_SIZE = 200 interface RavMetrics { ravRedeemsSuccess: Counter