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

index 2a903004a9..8b47b1606a 100644 --- a/synapse/util/batching_queue.py +++ b/synapse/util/batching_queue.py
@@ -128,7 +128,7 @@ class BatchingQueue(Generic[V, R]): # If we're not currently processing the key fire off a background # process to start processing. if key not in self._processing_keys: - run_as_background_process(self._name, self._process_queue, key) + run_as_background_process(self._name, self._process_queue, key) # type: ignore[unused-awaitable] with self._number_in_flight_metric.track_inprogress(): return await make_deferred_yieldable(d)