summary refs log tree commit diff
path: root/synapse/push/pusherpool.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/pusherpool.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/pusherpool.py')
-rw-r--r--synapse/push/pusherpool.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/push/pusherpool.py b/synapse/push/pusherpool.py

index e2648cbc93..d14c9b25bc 100644 --- a/synapse/push/pusherpool.py +++ b/synapse/push/pusherpool.py
@@ -92,7 +92,7 @@ class PusherPool: if not self._should_start_pushers: logger.info("Not starting pushers because they are disabled in the config") return - run_as_background_process("start_pushers", self._start_pushers) + run_as_background_process("start_pushers", self._start_pushers) # type: ignore[unused-awaitable] async def add_or_update_pusher( self,