We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ed1c64 commit 028b103Copy full SHA for 028b103
changelog.d/17411.misc
@@ -0,0 +1 @@
1
+Fix linting errors from new `ruff` version.
synapse/federation/sender/per_destination_queue.py
@@ -322,6 +322,7 @@ def attempt_new_transaction(self) -> None:
322
)
323
324
async def _transaction_transmission_loop(self) -> None:
325
+ pending_pdus: List[EventBase] = []
326
try:
327
self.transmission_loop_running = True
328
@@ -341,7 +342,7 @@ async def _transaction_transmission_loop(self) -> None:
341
342
self._new_data_to_send = False
343
344
async with _TransactionQueueManager(self) as (
- pending_pdus,
345
+ pending_pdus, # noqa: F811
346
pending_edus,
347
):
348
if not pending_pdus and not pending_edus:
0 commit comments