diff options
author | Richard van der Hoff <richard@matrix.org> | 2018-07-19 11:14:20 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2018-07-19 11:14:20 +0100 |
commit | f1a15ea20692e9f4b347cdddf6d714912356ba64 (patch) | |
tree | e012d519a01c04d43632d208b14560096d275566 /synapse/storage/_base.py | |
parent | Merge remote-tracking branch 'origin/release-v0.33.0' into develop (diff) | |
download | synapse-f1a15ea20692e9f4b347cdddf6d714912356ba64.tar.xz |
revert 00bc979
... we've fixed the things that caused the warnings, so we should reinstate the warning.
Diffstat (limited to 'synapse/storage/_base.py')
-rw-r--r-- | synapse/storage/_base.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/synapse/storage/_base.py b/synapse/storage/_base.py index a6a0e6ec9f..1d41d8d445 100644 --- a/synapse/storage/_base.py +++ b/synapse/storage/_base.py @@ -343,10 +343,9 @@ class SQLBaseStore(object): """ parent_context = LoggingContext.current_context() if parent_context == LoggingContext.sentinel: - # warning disabled for 0.33.0 release; proper fixes will land imminently. - # logger.warn( - # "Running db txn from sentinel context: metrics will be lost", - # ) + logger.warn( + "Starting db connection from sentinel context: metrics will be lost", + ) parent_context = None start_time = time.time() |