discourse/plugins
Osama Sayegh 8ed684312f
FIX: Prevent race condition in recurring automations (#26828)
Recurring automations are triggered by a scheduled job that runs every minute and checks for due automations, runs them and then marks as them as completed (by deleting the `PendingAutomation` record). However, the job is currently subject to a race condition where a recurring automation can be executed more than once at its due date if it takes more than a minute to finish.

This commit adds a mutex around the code that triggers the recurring automation so that no concurrent executions can happen for a single automation.

Meta topic: https://meta.discourse.org/t/daily-summary-9pm-utc/291850/119?u=osama.
2024-05-01 09:01:58 +03:00
..
automation FIX: Prevent race condition in recurring automations (#26828) 2024-05-01 09:01:58 +03:00
chat Update translations (#26821) 2024-04-30 21:57:28 +02:00
checklist UX: loading spinner when clicking an item 2024-04-25 18:45:38 +02:00
discourse-details DEV: refactor morphed preview specs 2024-04-10 10:36:20 +02:00
discourse-lazy-videos Update translations (#26821) 2024-04-30 21:57:28 +02:00
discourse-local-dates FIX: ensure [date-range don't clashes with checklist 2024-04-08 08:22:21 +02:00
discourse-narrative-bot Update translations (#26463) 2024-04-02 18:19:46 +02:00
discourse-presence DEV: Add appEvents for composer / DEditor toolbar events (#26517) 2024-04-05 08:35:25 -05:00
footnote FEATURE: Allow dismissing tooltips by clicking their button (#26668) 2024-04-18 13:16:55 +02:00
poll DEV: Allow RenderGlimmer to be used inside post-cooked-glued widgets (#26675) 2024-04-18 15:39:29 +01:00
spoiler-alert DEV: Remove unnecessary rails_helper requiring (#26364) 2024-03-26 11:32:01 +01:00
styleguide DEV: add toast progress bar to styleguide (#26767) 2024-04-26 16:49:58 +08:00