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 18:10:40 +0100
committerMathieu Velten <mathieuv@matrix.org>2022-11-22 18:10:40 +0100
commit53ca28a657b18f273495c951d607e9d36ed10943 (patch)
treedecc2c888f9804ab0d325192cf51f3754f322d9e /synapse/push/pusherpool.py
parentAdd type ignore unused-awaitable to LoopingCall start call (diff)
downloadsynapse-53ca28a657b18f273495c951d607e9d36ed10943.tar.xz
Reformat
Diffstat (limited to 'synapse/push/pusherpool.py')
-rw-r--r--synapse/push/pusherpool.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/push/pusherpool.py b/synapse/push/pusherpool.py

index d9589f76f9..4e1bec1110 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) # type: ignore[unused-awaitable] + run_as_background_process("start_pushers", self._start_pushers) # type: ignore[unused-awaitable] async def add_or_update_pusher( self, @@ -236,7 +236,7 @@ class PusherPool: # We only start a new background process if necessary rather than # optimistically (to cut down on overhead). - self._on_new_notifications(max_token) # type: ignore[unused-awaitable] + self._on_new_notifications(max_token) # type: ignore[unused-awaitable] @wrap_as_background_process("on_new_notifications") async def _on_new_notifications(self, max_token: RoomStreamToken) -> None: