summary refs log tree commit diff
path: root/synapse/federation
diff options
context:
space:
mode:
authordependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2024-07-05 12:35:57 +0000
committerGitHub <noreply@github.com>2024-07-05 12:35:57 +0000
commit20de685a4b500212d19acda5f637d51a8dd6be4e (patch)
treecb4ede58d67fc349a4c783b99eb178bd28e061cb /synapse/federation
parentAllow enabling sliding sync per-user (#17393) (diff)
downloadsynapse-20de685a4b500212d19acda5f637d51a8dd6be4e.tar.xz
Bump ruff from 0.3.7 to 0.5.0 (#17381)
Diffstat (limited to 'synapse/federation')
-rw-r--r--synapse/federation/sender/per_destination_queue.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/synapse/federation/sender/per_destination_queue.py b/synapse/federation/sender/per_destination_queue.py
index 9f1c2fe22a..b435588da0 100644
--- a/synapse/federation/sender/per_destination_queue.py
+++ b/synapse/federation/sender/per_destination_queue.py
@@ -322,7 +322,6 @@ class PerDestinationQueue:
         )
 
     async def _transaction_transmission_loop(self) -> None:
-        pending_pdus: List[EventBase] = []
         try:
             self.transmission_loop_running = True
 
@@ -338,7 +337,6 @@ class PerDestinationQueue:
                     # not caught up yet
                     return
 
-            pending_pdus = []
             while True:
                 self._new_data_to_send = False