🐛 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

@ -129,7 +129,7 @@ function mailinglistsync_civicrm_validateForm($formName, &$fields, &$files, &$fo
'type' => 'SqlParallel',
'is_autorun' => FALSE,
'reset' => FALSE,
'error' => 'drop',
'error' => 'abort',
]);
$queue->createItem(new CRM_Queue_Task(
// callback
@ -145,7 +145,7 @@ function mailinglistsync_civicrm_validateForm($formName, &$fields, &$files, &$fo
'type' => 'SqlParallel',
'is_autorun' => FALSE,
'reset' => FALSE,
'error' => 'drop',
'error' => 'abort',
]);
$queue->createItem(new CRM_Queue_Task(
// callback
@ -326,7 +326,7 @@ function mailinglistsync_civicrm_postCommit(string $op, string $objectName, int
'type' => 'SqlParallel',
'is_autorun' => FALSE,
'reset' => FALSE,
'error' => 'drop',
'error' => 'abort',
]);
$queue->createItem(new CRM_Queue_Task(
// callback
@ -347,7 +347,7 @@ function mailinglistsync_civicrm_postCommit(string $op, string $objectName, int
'type' => 'SqlParallel',
'is_autorun' => FALSE,
'reset' => FALSE,
'error' => 'drop',
'error' => 'abort',
]);
$queue->createItem(new CRM_Queue_Task(
// callback
@ -374,7 +374,7 @@ function mailinglistsync_civicrm_postCommit(string $op, string $objectName, int
'type' => 'SqlParallel',
'is_autorun' => FALSE,
'reset' => FALSE,
'error' => 'drop',
'error' => 'abort',
]);
$queue->createItem(new CRM_Queue_Task(
// callback
@ -395,7 +395,7 @@ function mailinglistsync_civicrm_postCommit(string $op, string $objectName, int
'type' => 'SqlParallel',
'is_autorun' => FALSE,
'reset' => FALSE,
'error' => 'drop',
'error' => 'abort',
]);
$queue->createItem(new CRM_Queue_Task(
// callback
@ -416,7 +416,7 @@ function mailinglistsync_civicrm_postCommit(string $op, string $objectName, int
'type' => 'SqlParallel',
'is_autorun' => FALSE,
'reset' => FALSE,
'error' => 'drop',
'error' => 'abort',
]);
$queue->createItem(new CRM_Queue_Task(
// callback
@ -451,7 +451,7 @@ function mailinglistsync_civicrm_postCommit(string $op, string $objectName, int
'type' => 'SqlParallel',
'is_autorun' => FALSE,
'reset' => FALSE,
'error' => 'drop',
'error' => 'abort',
]);
$queue->createItem(new CRM_Queue_Task(
// callback