summary refs log tree commit diff
path: root/synapse/metrics/_gc.py
diff options
context:
space:
mode:
authorMathieu Velten <mathieuv@matrix.org>2022-11-22 17:28:15 +0100
committerMathieu Velten <mathieuv@matrix.org>2022-11-22 18:10:08 +0100
commit312a754664b5f2d271f4468ae498e436ceb48e36 (patch)
treea4b360ebdf504957b3b2e97e48d350b6b214bf78 /synapse/metrics/_gc.py
parentAdd type ignore unused-awaitable to looping_call immediate call (diff)
downloadsynapse-312a754664b5f2d271f4468ae498e436ceb48e36.tar.xz
Add type ignore unused-awaitable to LoopingCall start call
Diffstat (limited to 'synapse/metrics/_gc.py')
-rw-r--r--synapse/metrics/_gc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/metrics/_gc.py b/synapse/metrics/_gc.py

index b7d47ce3e7..296e0a59cb 100644 --- a/synapse/metrics/_gc.py +++ b/synapse/metrics/_gc.py
@@ -129,7 +129,7 @@ def install_gc_manager() -> None: gc_unreachable.labels(i).set(unreachable) gc_task = task.LoopingCall(_maybe_gc) - gc_task.start(0.1) + gc_task.start(0.1) # type: ignore[unused-awaitable] #