Skip to content

Commit ffc2200

Browse files
committed
minor #20054 [Messenger] use a custom batch size (xabbuh)
This PR was merged into the 6.4 branch. Discussion ---------- [Messenger] use a custom batch size reverts #19953 so that the code matches the comment above the method Commits ------- 08f43e5 use a custom batch size
2 parents 292896f + 08f43e5 commit ffc2200

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

messenger.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2644,7 +2644,7 @@ provided in order to ease the declaration of these special handlers::
26442644
// of the trait to define your own batch size...
26452645
private function shouldFlush(): bool
26462646
{
2647-
return $this->getBatchSize() <= \count($this->jobs);
2647+
return 100 <= \count($this->jobs);
26482648
}
26492649

26502650
// ... or redefine the `getBatchSize()` method if the default

0 commit comments

Comments
 (0)