Skip to content

Commit e2b4fe4

Browse files
committed
Merge branch '6.4' into 7.0
* 6.4: Remove the shouldFlush() method use a custom batch size
2 parents 440cb1d + a51bc50 commit e2b4fe4

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
@@ -2557,15 +2557,8 @@ provided in order to ease the declaration of these special handlers::
25572557
}
25582558
}
25592559

2560-
// Optionally, you can either redefine the `shouldFlush()` method
2561-
// of the trait to define your own batch size...
2562-
private function shouldFlush(): bool
2563-
{
2564-
return $this->getBatchSize() <= \count($this->jobs);
2565-
}
2566-
2567-
// ... or redefine the `getBatchSize()` method if the default
2568-
// flush behavior suits your needs
2560+
// Optionally, you can override some of the trait methods, such as the
2561+
// `getBatchSize()` method, to specify your own batch size...
25692562
private function getBatchSize(): int
25702563
{
25712564
return 100;

0 commit comments

Comments
 (0)