diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2020-08-19 07:09:24 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-19 07:09:24 -0400 |
commit | d89692ea843f5c67c87ac4c992575015b359c5a0 (patch) | |
tree | e3d65223eafba87204876ba97a4314b4034e387d /synapse/metrics/background_process_metrics.py | |
parent | Remove the unused inlineCallbacks code-paths in the caching code (#8119) (diff) | |
download | synapse-d89692ea843f5c67c87ac4c992575015b359c5a0.tar.xz |
Convert runWithConnection to async. (#8121)
Diffstat (limited to 'synapse/metrics/background_process_metrics.py')
-rw-r--r-- | synapse/metrics/background_process_metrics.py | 2 |
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 |