Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop' into release-v1.111
Browse files Browse the repository at this point in the history
  • Loading branch information
sandhose committed Jul 9, 2024
2 parents 8e7da35 + 028b103 commit 963a60c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/17411.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix linting errors from new `ruff` version.
3 changes: 2 additions & 1 deletion synapse/federation/sender/per_destination_queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,7 @@ def attempt_new_transaction(self) -> None:
)

async def _transaction_transmission_loop(self) -> None:
pending_pdus: List[EventBase] = []
try:
self.transmission_loop_running = True

Expand All @@ -341,7 +342,7 @@ async def _transaction_transmission_loop(self) -> None:
self._new_data_to_send = False

async with _TransactionQueueManager(self) as (
pending_pdus,
pending_pdus, # noqa: F811
pending_edus,
):
if not pending_pdus and not pending_edus:
Expand Down

0 comments on commit 963a60c

Please sign in to comment.