diff --git a/framework/core/src/Notification/Driver/GroupableNotificationDriverInterface.php b/framework/core/src/Notification/Driver/GroupableNotificationDriverInterface.php index 0e7921e3e..6882d80a5 100644 --- a/framework/core/src/Notification/Driver/GroupableNotificationDriverInterface.php +++ b/framework/core/src/Notification/Driver/GroupableNotificationDriverInterface.php @@ -1,10 +1,16 @@ user->id))->dontRelease() + (new WithoutOverlapping('delayed-blueprint-grouping:'.$this->user->id))->dontRelease() ]; } } diff --git a/framework/core/src/Notification/NotificationSyncer.php b/framework/core/src/Notification/NotificationSyncer.php index 564199bea..332a9f0e1 100644 --- a/framework/core/src/Notification/NotificationSyncer.php +++ b/framework/core/src/Notification/NotificationSyncer.php @@ -120,7 +120,7 @@ class NotificationSyncer if ($driver instanceof GroupableNotificationDriverInterface) { $delay = $driver->blueprintGroupingDelay(); - foreach($newRecipients as $recipient) { + foreach ($newRecipients as $recipient) { $job = new DelayedBlueprintGroupingJob( $blueprint, $recipient,