mirror of
https://github.com/element-hq/synapse
synced 2024-08-20 07:20:20 +00:00
defer.returnValue must not be called within Measure
This commit is contained in:
parent
37adde32dc
commit
afbf6b33fc
2 changed files with 8 additions and 9 deletions
|
@ -256,7 +256,6 @@ class Notifier(object):
|
|||
"""Used to inform replication listeners that something has happend
|
||||
without waking up any of the normal user event streams"""
|
||||
with PreserveLoggingContext():
|
||||
with Measure(self.clock, "on_new_replication_data"):
|
||||
self.notify_replication()
|
||||
|
||||
@defer.inlineCallbacks
|
||||
|
|
Loading…
Reference in a new issue