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

index 0f166d16aa..9cc036dd21 100644 --- a/synapse/replication/tcp/handler.py +++ b/synapse/replication/tcp/handler.py
@@ -292,7 +292,7 @@ class ReplicationCommandHandler: return # fire off a background process to start processing the queue. - run_as_background_process( + run_as_background_process( # type: ignore[unused-awaitable] "process-replication-data", self._unsafe_process_queue, stream_name )