summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2018-07-19 10:51:15 +0100
committerRichard van der Hoff <richard@matrix.org>2018-07-19 10:51:15 +0100
commit00bc9791379109690fb5e465adf0e0e8e76167aa (patch)
treefb4ff97c7b95916c74aa85f55beb0e3702916909 /synapse
parent0.33.0rc1 changelog (diff)
downloadsynapse-00bc9791379109690fb5e465adf0e0e8e76167aa.tar.xz
Disable logcontext warning
Temporary workaround to #3518 while we release 0.33.0.
Diffstat (limited to 'synapse')
-rw-r--r--synapse/storage/_base.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/synapse/storage/_base.py b/synapse/storage/_base.py

index 98dde77431..a6a0e6ec9f 100644 --- a/synapse/storage/_base.py +++ b/synapse/storage/_base.py
@@ -343,9 +343,10 @@ class SQLBaseStore(object): """ parent_context = LoggingContext.current_context() if parent_context == LoggingContext.sentinel: - logger.warn( - "Running db txn from sentinel context: metrics will be lost", - ) + # warning disabled for 0.33.0 release; proper fixes will land imminently. + # logger.warn( + # "Running db txn from sentinel context: metrics will be lost", + # ) parent_context = None start_time = time.time()