Skip to content

Commit

Permalink
common: change getPendingRAVs PAGE_SIZE from 1000 to 200, fix http 413
Browse files Browse the repository at this point in the history
  • Loading branch information
dwerner committed Dec 26, 2024
1 parent 3c4d559 commit 600fa79
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/indexer-common/src/allocations/tap-collector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<string>
Expand Down

0 comments on commit 600fa79

Please sign in to comment.