mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-05 14:34:56 -04:00
Skip handling of push actions for outlier events (#10780)
Outlier events don't ever have push actions associated with them, so we can skip some expensive queries during event persistence.
This commit is contained in:
parent
0288e6033b
commit
74f01e11c9
3 changed files with 19 additions and 4 deletions
|
@ -69,6 +69,7 @@ class EventPushActionsStoreTestCase(HomeserverTestCase):
|
|||
event.room_id = room_id
|
||||
event.event_id = "$test:example.com"
|
||||
event.internal_metadata.stream_ordering = stream
|
||||
event.internal_metadata.is_outlier.return_value = False
|
||||
event.depth = stream
|
||||
|
||||
self.get_success(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue