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/databases/main/events_worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'synapse/storage/databases/main/events_worker.py') diff --git a/synapse/storage/databases/main/events_worker.py b/synapse/storage/databases/main/events_worker.py index 01e935edef..af5cb94239 100644 --- a/synapse/storage/databases/main/events_worker.py +++ b/synapse/storage/databases/main/events_worker.py @@ -942,7 +942,7 @@ class EventsWorkerStore(SQLBaseStore): should_start = False if should_start: - run_as_background_process("fetch_events", self._fetch_thread) + run_as_background_process("fetch_events", self._fetch_thread) # type: ignore[unused-awaitable] async def _fetch_thread(self) -> None: """Services requests for events from `_event_fetch_list`.""" -- cgit 1.5.1