diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2022-05-26 07:09:16 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-26 07:09:16 -0400 |
commit | b5707ceabad79267928b1f5e0bff582b09488847 (patch) | |
tree | a306bd0822fb6a96a5473eeabcfb91096850361d /synapse/federation/sender | |
parent | Pull out less state when handling gaps mk2 (#12852) (diff) | |
download | synapse-b5707ceabad79267928b1f5e0bff582b09488847.tar.xz |
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.
Diffstat (limited to 'synapse/federation/sender')
-rw-r--r-- | synapse/federation/sender/per_destination_queue.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/federation/sender/per_destination_queue.py b/synapse/federation/sender/per_destination_queue.py index d80f0ac5e8..8983b5a53d 100644 --- a/synapse/federation/sender/per_destination_queue.py +++ b/synapse/federation/sender/per_destination_queue.py @@ -223,7 +223,7 @@ class PerDestinationQueue: """Marks that the destination has new data to send, without starting a new transaction. - If a transaction loop is already in progress then a new transcation will + If a transaction loop is already in progress then a new transaction will be attempted when the current one finishes. """ |