mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-09-15 09:51:31 -04:00
Avoid attempting to delete push actions for remote users. (#12879)
Remote users will never have push actions, so we can avoid a database round-trip/transaction completely.
This commit is contained in:
parent
b83bc5fab5
commit
b5707ceaba
5 changed files with 8 additions and 4 deletions
|
@ -313,7 +313,7 @@ class EventsPersistenceStorage:
|
|||
List of events persisted, the current position room stream position.
|
||||
The list of events persisted may not be the same as those passed in
|
||||
if they were deduplicated due to an event already existing that
|
||||
matched the transcation ID; the existing event is returned in such
|
||||
matched the transaction ID; the existing event is returned in such
|
||||
a case.
|
||||
"""
|
||||
partitioned: Dict[str, List[Tuple[EventBase, EventContext]]] = {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue