Skip to content
Snippets Groups Projects
Unverified Commit 2de3d994 authored by Richard van der Hoff's avatar Richard van der Hoff Committed by GitHub
Browse files

Merge pull request #3561 from matrix-org/rav/disable_logcontext_warning

Disable logcontext warning
parents 21d3b879 18a2b2c0
No related branches found
No related tags found
No related merge requests found
Disable a noisy warning about logcontexts
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment