summary refs log tree commit diff
path: root/synapse/metrics
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2020-08-19 07:09:24 -0400
committerGitHub <noreply@github.com>2020-08-19 07:09:24 -0400
commitd89692ea843f5c67c87ac4c992575015b359c5a0 (patch)
treee3d65223eafba87204876ba97a4314b4034e387d /synapse/metrics
parentRemove the unused inlineCallbacks code-paths in the caching code (#8119) (diff)
downloadsynapse-d89692ea843f5c67c87ac4c992575015b359c5a0.tar.xz
Convert runWithConnection to async. (#8121)
Diffstat (limited to 'synapse/metrics')
-rw-r--r--synapse/metrics/background_process_metrics.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/metrics/background_process_metrics.py b/synapse/metrics/background_process_metrics.py
index f766d16db6..4cd7932e5b 100644
--- a/synapse/metrics/background_process_metrics.py
+++ b/synapse/metrics/background_process_metrics.py
@@ -175,7 +175,7 @@ def run_as_background_process(desc: str, func, *args, **kwargs):
     It returns a Deferred which completes when the function completes, but it doesn't
     follow the synapse logcontext rules, which makes it appropriate for passing to
     clock.looping_call and friends (or for firing-and-forgetting in the middle of a
-    normal synapse inlineCallbacks function).
+    normal synapse async function).
 
     Args:
         desc: a description for this background process type