mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 03:34:49 -04:00
Fix "Starting metrics collection from sentinel context" errors (#9053)
This commit is contained in:
parent
12f79da587
commit
a03d71dc9d
3 changed files with 22 additions and 21 deletions
|
@ -111,7 +111,8 @@ class Measure:
|
|||
curr_context = current_context()
|
||||
if not curr_context:
|
||||
logger.warning(
|
||||
"Starting metrics collection from sentinel context: metrics will be lost"
|
||||
"Starting metrics collection %r from sentinel context: metrics will be lost",
|
||||
name,
|
||||
)
|
||||
parent_context = None
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue