Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Add type ignore unused-awaitable to LoopingCall start call
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathieu Velten committed Nov 22, 2022
1 parent 72574f0 commit 04c726d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/metrics/_gc.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def _maybe_gc() -> 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]


#
Expand Down

0 comments on commit 04c726d

Please sign in to comment.