Infinite cron loop / same user IDs processed when using queue and passing subscribe_options['uids']

Created on 8 March 2023, over 1 year ago
Updated 17 January 2024, 5 months ago

Problem/Motivation

This happens when queue is on, and $subscribe_options['uids'] list of DeliveryCandidates is specified in call to sendMessage method.

Steps to reproduce

Use queue, call sendMessage($entity, $message, [], ['uids' => $uids]) where $uids is an array of DeliveryCandidate objects with length > subscribe options range.

Proposed resolution

The sendMessage method should remove the DeliveryCandidate from the subscribe_options['uids'] array once the message is sent.

πŸ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada ClassicCut

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024