🐛 change queue error mode to 'abort'

This commit is contained in:
Marc Koch 2025-04-03 11:48:12 +02:00
parent aa8d25d5ed
commit 60dd218688
Signed by: marc.koch
GPG key ID: 12406554CFB028B9
2 changed files with 11 additions and 11 deletions

View file

@ -29,21 +29,21 @@ class QueueHelper {
'type' => 'SqlParallel',
'is_autorun' => FALSE,
'reset' => FALSE,
'error' => 'drop',
'error' => 'abort',
]);
$this->eventQueue = \Civi::queue(
'propeace-mailinglist-event-queue', [
'type' => 'SqlParallel',
'is_autorun' => FALSE,
'reset' => FALSE,
'error' => 'drop',
'error' => 'abort',
]);
$this->emailQueue = \Civi::queue(
'propeace-mailinglist-email-queue', [
'type' => 'SqlParallel',
'is_autorun' => FALSE,
'reset' => FALSE,
'error' => 'drop',
'error' => 'abort',
]);
$this->groups = [];