mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Disable logcontext warning
Temporary workaround to #3518 while we release 0.33.0.
This commit is contained in:
parent
21d3b87943
commit
00bc979137
@ -343,9 +343,10 @@ class SQLBaseStore(object):
|
|||||||
"""
|
"""
|
||||||
parent_context = LoggingContext.current_context()
|
parent_context = LoggingContext.current_context()
|
||||||
if parent_context == LoggingContext.sentinel:
|
if parent_context == LoggingContext.sentinel:
|
||||||
logger.warn(
|
# warning disabled for 0.33.0 release; proper fixes will land imminently.
|
||||||
"Running db txn from sentinel context: metrics will be lost",
|
# logger.warn(
|
||||||
)
|
# "Running db txn from sentinel context: metrics will be lost",
|
||||||
|
# )
|
||||||
parent_context = None
|
parent_context = None
|
||||||
|
|
||||||
start_time = time.time()
|
start_time = time.time()
|
||||||
|
Loading…
Reference in New Issue
Block a user