From a0dfa69ffc2474fcd433597b23c74a98ec45840a Mon Sep 17 00:00:00 2001 From: Mathieu Velten Date: Tue, 22 Nov 2022 14:44:09 +0100 Subject: Add type ignore unused-awaitable to run_as_background_process calls --- synapse/storage/controllers/persist_events.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'synapse/storage/controllers/persist_events.py') diff --git a/synapse/storage/controllers/persist_events.py b/synapse/storage/controllers/persist_events.py index 33ffef521b..bf7c264d4d 100644 --- a/synapse/storage/controllers/persist_events.py +++ b/synapse/storage/controllers/persist_events.py @@ -293,7 +293,7 @@ class _EventPeristenceQueue(Generic[_PersistResult]): self._currently_persisting_rooms.discard(room_id) # set handle_queue_loop off in the background - run_as_background_process("persist_events", handle_queue_loop) + run_as_background_process("persist_events", handle_queue_loop) # type: ignore[unused-awaitable] def _get_drainining_queue( self, room_id: str -- cgit 1.5.1