Files
discourse/app/jobs
Alan Guo Xiang Tan e4244cca35 PERF: Set cluster_concurrency 1 for Jobs::BackfillBadge (#32121)
Since 3e4eac0fed, the daily
`Jobs::BadgeGrant` scheduled job enqueues one `Jobs::BackfillBadge`
job per enabled badge. This can become problematic on large sites that
have alot of enabled badges as the long running queries executed by each
`Jobs::BackfillBadge` job may end up exhausting all available
database connections in a short span of time. To combat this, we are
limiting the `cluster_concurrency` of the `Jobs::BackfillBadge` job to
`1`.
2025-04-02 11:23:32 +08:00
..
2025-03-10 15:02:48 +01:00