summary refs log tree commit diff
path: root/synapse/push/emailpusher.py
diff options
context:
space:
mode:
authorMathieu Velten <mathieuv@matrix.org>2022-11-22 14:44:09 +0100
committerMathieu Velten <mathieuv@matrix.org>2022-11-22 18:09:13 +0100
commita0dfa69ffc2474fcd433597b23c74a98ec45840a (patch)
tree0aaf5532543e20b4118ddca0ede25aebccb688a7 /synapse/push/emailpusher.py
parentEnable unused awaitable error in mypy (diff)
downloadsynapse-a0dfa69ffc2474fcd433597b23c74a98ec45840a.tar.xz
Add type ignore unused-awaitable to run_as_background_process calls
Diffstat (limited to 'synapse/push/emailpusher.py')
-rw-r--r--synapse/push/emailpusher.py2
1 files changed, 1 insertions, 1 deletions
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.