Skip to content

Commit 5f34920

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

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
@@ -2583,15 +2583,8 @@ provided in order to ease the declaration of these special handlers::
25832583
}
25842584
}
25852585

2586-
// Optionally, you can either redefine the `shouldFlush()` method
2587-
// of the trait to define your own batch size...
2588-
private function shouldFlush(): bool
2589-
{
2590-
return $this->getBatchSize() <= \count($this->jobs);
2591-
}
2592-
2593-
// ... or redefine the `getBatchSize()` method if the default
2594-
// flush behavior suits your needs
2586+
// Optionally, you can override some of the trait methods, such as the
2587+
// `getBatchSize()` method, to specify your own batch size...
25952588
private function getBatchSize(): int
25962589
{
25972590
return 100;

0 commit comments

Comments
 (0)