summary refs log tree commit diff
path: root/synapse/handlers/pagination.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/handlers/pagination.py
parentAdd type ignore unused-awaitable to LoopingCall start call (diff)
downloadsynapse-53ca28a657b18f273495c951d607e9d36ed10943.tar.xz
Reformat
Diffstat (limited to 'synapse/handlers/pagination.py')
-rw-r--r--synapse/handlers/pagination.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/synapse/handlers/pagination.py b/synapse/handlers/pagination.py

index b5043eedf4..8972f58241 100644 --- a/synapse/handlers/pagination.py +++ b/synapse/handlers/pagination.py
@@ -293,7 +293,7 @@ class PaginationHandler: # We want to purge everything, including local events, and to run the purge in # the background so that it's not blocking any other operation apart from # other purges in the same room. - run_as_background_process( # type: ignore[unused-awaitable] + run_as_background_process( # type: ignore[unused-awaitable] "_purge_history", self._purge_history, purge_id, @@ -328,7 +328,7 @@ class PaginationHandler: logger.info("[purge] starting purge_id %s", purge_id) self._purges_by_id[purge_id] = PurgeStatus() - run_as_background_process( # type: ignore[unused-awaitable] + run_as_background_process( # type: ignore[unused-awaitable] "purge_history", self._purge_history, purge_id, @@ -769,7 +769,7 @@ class PaginationHandler: self._delete_by_id[delete_id] = DeleteStatus() self._delete_by_room.setdefault(room_id, []).append(delete_id) - run_as_background_process( # type: ignore[unused-awaitable] + run_as_background_process( # type: ignore[unused-awaitable] "shutdown_and_purge_room", self._shutdown_and_purge_room, delete_id,