Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
synapse
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Maunium
synapse
Commits
2de3d994
Unverified
Commit
2de3d994
authored
6 years ago
by
Richard van der Hoff
Committed by
GitHub
6 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #3561 from matrix-org/rav/disable_logcontext_warning
Disable logcontext warning
parents
21d3b879
18a2b2c0
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
changelog.d/3561.bugfix
+1
-0
1 addition, 0 deletions
changelog.d/3561.bugfix
synapse/storage/_base.py
+4
-3
4 additions, 3 deletions
synapse/storage/_base.py
with
5 additions
and
3 deletions
changelog.d/3561.bugfix
0 → 100644
+
1
−
0
View file @
2de3d994
Disable a noisy warning about logcontexts
This diff is collapsed.
Click to expand it.
synapse/storage/_base.py
+
4
−
3
View file @
2de3d994
...
...
@@ -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
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment