Skip to content

Commit

Permalink
no limit
Browse files Browse the repository at this point in the history
  • Loading branch information
jh-bate committed Dec 21, 2023
1 parent 6220353 commit d297981
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,6 @@ func (m *Migration) fetchAndUpdateBatch() bool {
dataSet := []bson.M{}
dDataCursor, err := dataC.Find(m.ctx, selector,
&options.FindOptions{
Limit: &m.config.readBatchSize,
Sort: bson.M{"_id": 1},
BatchSize: &size,
},
Expand Down

0 comments on commit d297981

Please sign in to comment.