mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-14 11:57:44 +00:00
Merge remote-tracking branch 'origin/develop' into release-v1.111
This commit is contained in:
commit
963a60c7e7
2 changed files with 3 additions and 1 deletions
1
changelog.d/17411.misc
Normal file
1
changelog.d/17411.misc
Normal file
|
@ -0,0 +1 @@
|
|||
Fix linting errors from new `ruff` version.
|
|
@ -322,6 +322,7 @@ class PerDestinationQueue:
|
|||
)
|
||||
|
||||
async def _transaction_transmission_loop(self) -> None:
|
||||
pending_pdus: List[EventBase] = []
|
||||
try:
|
||||
self.transmission_loop_running = True
|
||||
|
||||
|
@ -341,7 +342,7 @@ class PerDestinationQueue:
|
|||
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:
|
||||
|
|
Loading…
Reference in a new issue