discourse/app/jobs
Alan Guo Xiang Tan f591083407
PERF: Set cluster_concurrency for Jobs::UpdateUsername to 1 (#31492)
This optimization is similar to the optimization applied in
eb603b246b. As part of the
`UserAnonymizer#make_anonymous` method call, the `Jobs::UpdateUsername`
sidekiq job is enqueued and this job runs many expensive and hard to
optimize SQL queries. Hence, we are restricting the
`cluster_concurrency` for
the sidekiq job to `1` to prevent the database from being overloaded in
the event that many users are being anonymized in a short period of
time.
2025-02-25 10:47:51 +08:00
..
concerns DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
onceoff FEATURE: Allow admins to export users (#30918) 2025-01-24 08:13:25 +11:00
regular PERF: Set cluster_concurrency for Jobs::UpdateUsername to 1 (#31492) 2025-02-25 10:47:51 +08:00
scheduled DEV: Rescue from each step of EnsureDbConsistency (#31313) 2025-02-13 12:07:04 +02:00
base.rb DEV: Support a perform_when_readonly option for Jobs::Scheduled (#30478) 2024-12-27 09:42:40 +08:00