Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX: improve performance of post alerter job (discourse#22378)
Recently, SQL query returning users who have muted category or tag were introduced, and it is causing performance issues. It is much more effective to first get IDs of users who have CategoryUser/TagUsers related to specific topic and then in second query get relevant users.
- Loading branch information