Skip to content

Commit f2d7100

Browse files
committed
Chunking limit bug fix, close #68
1 parent db818be commit f2d7100

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Eloquent/Builder.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,7 @@ public function orderedChunkById($count, callable $callback, $column = null, $al
275275
public function chunkByPit($count, callable $callback, $keepAlive = '1m'): bool
276276
{
277277
$this->query->keepAlive = $keepAlive;
278+
$this->query->limit = $count;
278279
$pitId = $this->query->openPit();
279280

280281
$searchAfter = null;

0 commit comments

Comments
 (0)