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

Created on 10 September 2018, over 6 years ago
Updated 22 July 2024, 5 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.

  • 🇮🇱Israel jsacksick

    Closing this back as a duplicate, don't know if we can add credits after the MR got merged already, will try that in the other issue.

Production build 0.71.5 2024