Skip to content

Commit b955129

Browse files
committed
Merge branch '7.1' into 7.2
* 7.1: Remove the shouldFlush() method use a custom batch size
2 parents c991387 + 5f34920 commit b955129

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

messenger.rst

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2591,15 +2591,8 @@ provided in order to ease the declaration of these special handlers::
25912591
}
25922592
}
25932593

2594-
// Optionally, you can either redefine the `shouldFlush()` method
2595-
// of the trait to define your own batch size...
2596-
private function shouldFlush(): bool
2597-
{
2598-
return $this->getBatchSize() <= \count($this->jobs);
2599-
}
2600-
2601-
// ... or redefine the `getBatchSize()` method if the default
2602-
// flush behavior suits your needs
2594+
// Optionally, you can override some of the trait methods, such as the
2595+
// `getBatchSize()` method, to specify your own batch size...
26032596
private function getBatchSize(): int
26042597
{
26052598
return 100;

0 commit comments

Comments
 (0)