discourse/app
jbrw f8863b0f98
DEV: Limit concurrency of NotifyReviewables job (#19968)
Under scenarios of extremely high load where large numbers of `Reviewable*` items are being created, it has been observed that multiple instances of the `NotifyReviewable` job may run simultaneously.

These jobs will work satisfactorily if the concurrency is limited to 1, and the different types of jobs (items reviewable by admins, vs moderators, vs particular groups, etc.) are run eventually.

This change introduces a new option to `DistributedMutex` which allows the `max_get_lock_attempts` to be specified. If the number is exceeded an error will be raised, which will cause Sidekiq to requeue the job. Sidekiq has existing logic to back-off on retry times for jobs that have failed multiple times.
2023-01-25 15:19:11 -05:00
..
assets SECURITY: Limit the character count of group membership requests (#19993) 2023-01-25 13:50:33 +02:00
controllers SECURITY: only show restricted tag lists to authorized users (#20004) 2023-01-25 18:55:55 +02:00
helpers DEV: Prefer \A and \z over ^ and $ in regexes (#19936) 2023-01-20 12:52:49 -06:00
jobs DEV: Limit concurrency of NotifyReviewables job (#19968) 2023-01-25 15:19:11 -05:00
mailers DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
models SECURITY: Remove bypass for base_url (#19995) 2023-01-25 13:50:45 +02:00
serializers DEV: Prefer \A and \z over ^ and $ in regexes (#19936) 2023-01-20 12:52:49 -06:00
services FIX: Do not add empty use/svg tags in ExcerptParser (#19969) 2023-01-24 14:40:24 +10:00
views FEATURE: Show more context in Discourse topic oneboxes 2023-01-11 14:22:53 +01:00