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/handlers/stats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'synapse/handlers/stats.py') diff --git a/synapse/handlers/stats.py b/synapse/handlers/stats.py index 5c01482acf..2679def6ea 100644 --- a/synapse/handlers/stats.py +++ b/synapse/handlers/stats.py @@ -75,7 +75,7 @@ class StatsHandler: finally: self._is_processing = False - run_as_background_process("stats.notify_new_event", process) + run_as_background_process("stats.notify_new_event", process) # type: ignore[unused-awaitable] async def _unsafe_process(self) -> None: # If self.pos is None then means we haven't fetched it from DB -- cgit 1.5.1