summary refs log tree commit diff
path: root/synapse/logging/context.py
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2022-01-26 14:53:04 +0000
committerBrendan Abolivier <babolivier@matrix.org>2022-01-26 18:01:10 +0000
commit0a3d781384dfaeebb6b22ea15f785b42669559c9 (patch)
treecac6aea0652ac1170970d450a79ed25a85232f93 /synapse/logging/context.py
parentRemove old register_mxid_from_3pid setting (diff)
downloadsynapse-github/babolivier/username_reg_v2.tar.xz
Diffstat (limited to '')
-rw-r--r--synapse/logging/context.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/synapse/logging/context.py b/synapse/logging/context.py

index d8ae3188b7..1cc07eca01 100644 --- a/synapse/logging/context.py +++ b/synapse/logging/context.py
@@ -55,7 +55,6 @@ try: def get_thread_resource_usage() -> "Optional[resource.struct_rusage]": return resource.getrusage(RUSAGE_THREAD) - except Exception: # If the system doesn't support resource.getrusage(RUSAGE_THREAD) then we # won't track resource usage.