From 41577916a665d86592b23991f704328f2c540df5 Mon Sep 17 00:00:00 2001 From: catch <6915-catch@users.noreply.drupalcode.org> Date: Sat, 13 Jul 2024 00:25:24 +0100 Subject: [PATCH] Issue #3313449 by JeffMattson, joachim: QueueWorkerInterface is missing docs for DelayedRequeueException (cherry picked from commit 20a70106871751804d6e28f4151f2ef8cd27ed32) --- core/lib/Drupal/Core/Queue/QueueWorkerInterface.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/lib/Drupal/Core/Queue/QueueWorkerInterface.php b/core/lib/Drupal/Core/Queue/QueueWorkerInterface.php index e6c710ffd84a..d54ca1e87bb2 100644 --- a/core/lib/Drupal/Core/Queue/QueueWorkerInterface.php +++ b/core/lib/Drupal/Core/Queue/QueueWorkerInterface.php @@ -38,6 +38,8 @@ interface QueueWorkerInterface extends PluginInspectionInterface { * behave as with a normal Exception, and in addition will not attempt to * process further items from the current item's queue during the current * cron run. + * @throws \Drupal\Core\Queue\DelayedRequeueException + * To leave an item in the queue until its lock expires. * * @see \Drupal\Core\Cron::processQueues() */ -- GitLab