[xwiki/xwiki-platform] e31a79: XWIKI-23419: Notification pre-filtering is slow wi...
Branch: refs/heads/master Home: https://github.com/xwiki/xwiki-platform Commit: e31a79c94fc3d27c0a9927960fa263b479d34069 https://github.com/xwiki/xwiki-platform/commit/e31a79c94fc3d27c0a9927960fa26... Author: Michael Hamann <michael.hamann@xwiki.com> Date: 2025-07-31 (Thu, 31 Jul 2025) Changed paths: M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-notifiers/xwiki-platform-notifications-notifiers-default/src/main/java/org/xwiki/notifications/notifiers/internal/UserEventDispatcher.java M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-notifiers/xwiki-platform-notifications-notifiers-default/src/test/java/org/xwiki/notifications/notifiers/internal/UserEventDispatcherTest.java Log Message: ----------- XWIKI-23419: Notification pre-filtering is slow with lots of users due to lots of Solr queries (#4404) * Don't ever check if mails are pre-filtered as this just duplicates the logic of the atomic update that we already use. * Only check for notification statuses when a user is actually listening to an event. * Remove unused futures. * Don't mark an event as pre-filtered after filtering for the users on the subwiki before filtering for the main wiki users. * Wait for all events of the batch at once, don't wait for every event to be committed. To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
participants (1)
-
XWiki Notifications