Skip to content

Commit ac4ccd0

Browse files
authored
Fix batch size unfit (#1319)
1 parent b41c78a commit ac4ccd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

relayer/chain/ethereum/receipt.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"golang.org/x/sync/errgroup"
1212
)
1313

14-
const receiptFetchBatchSize int = 100
14+
const receiptFetchBatchSize int = 10
1515

1616
// Fetch all receipts for the given block in batches of `receiptFetchBatchSize`
1717
func GetAllReceipts(ctx context.Context, conn *Connection, block *etypes.Block) (etypes.Receipts, error) {

0 commit comments

Comments
 (0)