Skip to content

Commit

Permalink
use a custom batch size
Browse files Browse the repository at this point in the history
  • Loading branch information
xabbuh committed Jul 19, 2024
1 parent 292896f commit 08f43e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion messenger.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2644,7 +2644,7 @@ provided in order to ease the declaration of these special handlers::
// of the trait to define your own batch size...
private function shouldFlush(): bool
{
return $this->getBatchSize() <= \count($this->jobs);
return 100 <= \count($this->jobs);
}

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

0 comments on commit 08f43e5

Please sign in to comment.