Commit cdb9fdf
fix: stop iterating when batch returns fewer than batch_size candidates
Avoids redundant SELECT queries when the previous batch already
exhausted all matching rows.1 parent a61fee7 commit cdb9fdf
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
291 | 291 | | |
292 | 292 | | |
293 | 293 | | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
294 | 298 | | |
0 commit comments