Skip to content

Commit 049beec

Browse files
committed
common: add limit for fetching ravs
Signed-off-by: Gustavo Inacio <[email protected]>
1 parent d85d2cf commit 049beec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,7 @@ export class TapCollector {
328328
private async pendingRAVs(): Promise<ReceiptAggregateVoucher[]> {
329329
return await this.models.receiptAggregateVouchers.findAll({
330330
where: { last: true, final: false },
331+
limit: 100,
331332
})
332333
}
333334

0 commit comments

Comments
 (0)