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/push/emailpusher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'synapse/push/emailpusher.py') diff --git a/synapse/push/emailpusher.py b/synapse/push/emailpusher.py index 1710dd51b9..877a25071d 100644 --- a/synapse/push/emailpusher.py +++ b/synapse/push/emailpusher.py @@ -113,7 +113,7 @@ class EmailPusher(Pusher): if self._is_processing: return - run_as_background_process("emailpush.process", self._process) + run_as_background_process("emailpush.process", self._process) # type: ignore[unused-awaitable] def _pause_processing(self) -> None: """Used by tests to temporarily pause processing of events. -- cgit 1.5.1