From 23cee85443a8fcccabade60f482b725ef4a953eb Mon Sep 17 00:00:00 2001 From: Daniel Werner Date: Thu, 26 Dec 2024 10:49:39 -0800 Subject: [PATCH] common: reduce getPendingRAVs PAGE_SIZE from 1000 to 200 --- 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 57b05f4f1..64e4a11b4 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 will lead to 413 Request Entity Too Large... +const PAGE_SIZE = 200 interface RavMetrics { ravRedeemsSuccess: Counter