diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2022-07-21 08:01:52 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-21 12:01:52 +0000 |
commit | 50122754c8743df5c904e81b634fdfdeea64e795 (patch) | |
tree | 3c6b3e46aec5a66a05eaffb688154eb87b198fcb /synapse/metrics | |
parent | Use cache store remove base slaved (#13329) (diff) | |
download | synapse-50122754c8743df5c904e81b634fdfdeea64e795.tar.xz |
Add missing types to opentracing. (#13345)
After this change `synapse.logging` is fully typed.
Diffstat (limited to 'synapse/metrics')
-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 eef3462e10..7a1516d3a8 100644 --- a/synapse/metrics/background_process_metrics.py +++ b/synapse/metrics/background_process_metrics.py @@ -235,7 +235,7 @@ def run_as_background_process( f"bgproc.{desc}", tags={SynapseTags.REQUEST_ID: str(context)} ) else: - ctx = nullcontext() + ctx = nullcontext() # type: ignore[assignment] with ctx: return await func(*args, **kwargs) except Exception: |