Commit a0f8724
committed
sweepbatcher: remove all completed batches
Previously, if a completed batch was visited after a batch to which the
sweep was added, it was not deleted because the function returned early.
This has been separated into two loops: the first one removes completed batches,
and the second one adds the sweep to a batch.1 parent a64f461 commit a0f8724
1 file changed
+6
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
590 | 590 | | |
591 | 591 | | |
592 | 592 | | |
593 | | - | |
594 | | - | |
| 593 | + | |
| 594 | + | |
595 | 595 | | |
596 | | - | |
597 | | - | |
598 | 596 | | |
599 | 597 | | |
600 | | - | |
601 | 598 | | |
| 599 | + | |
602 | 600 | | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
603 | 604 | | |
604 | 605 | | |
605 | 606 | | |
| |||
0 commit comments