mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-14 19:03:51 +01:00
revert 00bc979
... we've fixed the things that caused the warnings, so we should reinstate the warning.
This commit is contained in:
parent
1ffb7bec20
commit
f1a15ea206
1 changed files with 3 additions and 4 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue