Skip to content

Commit a51bc50

Browse files
committed
Remove the shouldFlush() method
1 parent ffc2200 commit a51bc50

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
@@ -2640,15 +2640,8 @@ provided in order to ease the declaration of these special handlers::
26402640
}
26412641
}
26422642

2643-
// Optionally, you can either redefine the `shouldFlush()` method
2644-
// of the trait to define your own batch size...
2645-
private function shouldFlush(): bool
2646-
{
2647-
return 100 <= \count($this->jobs);
2648-
}
2649-
2650-
// ... or redefine the `getBatchSize()` method if the default
2651-
// flush behavior suits your needs
2643+
// Optionally, you can override some of the trait methods, such as the
2644+
// `getBatchSize()` method, to specify your own batch size...
26522645
private function getBatchSize(): int
26532646
{
26542647
return 100;

0 commit comments

Comments
 (0)