Duplicates commerce recurring ('commerce_recurring_order_close', 'commerce_recurring_order_renew') queues.

Created on 10 September 2018, almost 6 years ago
Updated 22 July 2024, about 2 months ago

The main CRON function of this module which collects all draft orders(which billing_period.ends is less then current time) and adds these to 'commerce_recurring_order_close'/'commerce_recurring_order_renew' queues, doesn't have any checks to prevent adding duplicates to these queues. If there are more then 100 orders (in my case), I can get duplicated queues. The reason is CRON worker can't process all queue for some time, and some orders don't change the state.

🐛 Bug report
Status

Closed: duplicate

Component

Code

Created by

🇺🇦Ukraine vetal4ik

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024