-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: UP NotificationSettingsUpgradePlugin is not efficient - EXO-69816
Before this fix, the number of database queries for this up is proportional to the number of plugin, multiplied by the number of users. As we have more than 30 notifications plugin, the number of database queries is huge This commit change the way settings are updated by firstly searching users, instead of firstly browsing plugin. In this way, the queries number is not more proportionnal to plugin number, only to user number
- Loading branch information
Showing
1 changed file
with
48 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters