We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b6c5e23 + fac6843 commit 7c4d7afCopy full SHA for 7c4d7af
lib/BackgroundJob/EmailNotification.php
@@ -39,14 +39,10 @@ class EmailNotification extends TimedJob {
39
/** @var bool */
40
protected $isCLI;
41
42
- /**
43
- * @param MailQueueHandler $mailQueueHandler
44
- * @param bool $isCLI
45
- */
46
public function __construct(MailQueueHandler $mailQueueHandler,
47
- $isCLI) {
48
- // Run all 15 Minutes
49
- $this->setInterval(15 * 60);
+ bool $isCLI) {
+ // Run everytime cron is executed, so the batching doesn't delay too much
+ $this->setInterval(1);
50
51
$this->queueHandler = $mailQueueHandler;
52
$this->isCLI = $isCLI;
0 commit comments