diff --git a/src/jobs/SendoutJob.php b/src/jobs/SendoutJob.php index b76aa21f..773117f4 100644 --- a/src/jobs/SendoutJob.php +++ b/src/jobs/SendoutJob.php @@ -29,6 +29,16 @@ class SendoutJob extends BaseBatchedJob implements RetryableJobInterface */ public ?string $title = null; + /** + * @inheritdoc + */ + public function init(): void + { + $this->batchSize = Campaign::$plugin->settings->maxBatchSize; + + parent::init(); + } + /** * @inheritdoc */