Skip to content

Commit 0f57850

Browse files
authored
page fix ipni (#2032)
1 parent 2dc284a commit 0f57850

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extern/boostd-data/yugabyte/service.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ func (s *Store) GetIndex(ctx context.Context, pieceCid cid.Cid) (<-chan types.In
371371
}()
372372

373373
qry := `SELECT PayloadMultihash, BlockOffset, BlockSize FROM PieceBlockOffsetSize WHERE PieceCid = ?`
374-
iter := s.session.Query(qry, pieceCid.Bytes()).WithContext(ctx).Iter()
374+
iter := s.session.Query(qry, pieceCid.Bytes()).WithContext(ctx).PageSize(10_000).Iter()
375375

376376
scannedRecordCh := make(chan struct{}, 1)
377377
records := make(chan types.IndexRecord)

0 commit comments

Comments
 (0)