discourse/app
Alan Guo Xiang Tan a8b4d2e82c
DEV: Drop distributed mutex from`SidebarSiteSettingsBackfiller#backfill!` (#25674)
Why this change?

Backfilling can take a long time on a site with many users. As a
result, the `DistriburedMutex` will warn in the logs when the block takes
more than 60 seconds to complete. We can increase the lock validity but
the method is currently only called from a job which has a
`cluster_concurrency` set to `1`. Therefore, it is actually not
necessary for us to hold a `DistributedMutex` here.

What does this change do?

1. Removes the distributed mutex and adds a comment about the risk of
   calling the `SidebarSiteSettingsBackfiller#backfill!` method.a

2. Delete old sidebar category section links in batches for all users
   to avoid a single long running query.
2024-02-15 06:21:03 +08:00
..
assets UX: show the full mobile read-state indicator (#25678) 2024-02-14 15:52:02 -05:00
controllers FEATURE: Async load of category and chat hashtags (#25526) 2024-02-12 12:07:14 +02:00
helpers SECURITY: Properly escape user content within `<noscript>` 2024-01-30 09:10:09 -07:00
jobs DEV: Drop deprecated Badge#image column (#25536) 2024-02-02 14:09:55 +08:00
mailers FIX: Add higher read & open timeouts for group SMTP emails (#24593) 2023-11-28 15:32:59 +10:00
models FEATURE: Auto generate and display video preview image (#25633) 2024-02-14 13:43:53 -07:00
serializers FIX: serialize can_ignore_users (#25672) 2024-02-14 15:17:19 +11:00
services DEV: Drop distributed mutex from`SidebarSiteSettingsBackfiller#backfill!` (#25674) 2024-02-15 06:21:03 +08:00
views removed broken link and comments from no_index.erb (#25648) 2024-02-14 12:09:24 +08:00