Skip to content

Commit

Permalink
common: reduce getPendingRAVs PAGE_SIZE from 1000 to 200
Browse files Browse the repository at this point in the history
  • Loading branch information
dwerner committed Dec 26, 2024
1 parent 4362b8f commit 23cee85
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 will lead to 413 Request Entity Too Large...
const PAGE_SIZE = 200

interface RavMetrics {
ravRedeemsSuccess: Counter<string>
Expand Down

0 comments on commit 23cee85

Please sign in to comment.