mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-24 07:54:13 +00:00
d7845da3f6
When notifications are being moderated, the unread count for affected users has to be recalculated. It was initially done using DB_SLAVE but it was leading to inconsistent data since that database did not know about recently deleted notifications. It was changed to DB_MASTER but it potentially led to too many queries on master. This patch tries to wait for the replica to have caught up with those changes and use it to update the unread count for the affected users. Bug: T93673 Change-Id: Ib4a845e82f686dd7ed807ab21a28490014b56604 |
||
---|---|---|
.. | ||
ModerationController.php | ||
NotificationController.php |