Skip to content

Commit a84b83b

Browse files
committed
common: change getPendingRAVs PAGE_SIZE from 1000 to 200, fix http 413
1 parent 3c4d559 commit a84b83b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/indexer-common/src/allocations/tap-collector.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ import { getEscrowAccounts } from './escrow-accounts'
3333
// every 15 minutes
3434
const RAV_CHECK_INTERVAL_MS = 900_000
3535

36-
const PAGE_SIZE = 1000
36+
// 1000 here was leading to http 413 request entity too large
37+
const PAGE_SIZE = 200
3738

3839
interface RavMetrics {
3940
ravRedeemsSuccess: Counter<string>

0 commit comments

Comments
 (0)