defer.returnValue must not be called within Measure
This commit is contained in:
parent
37adde32dc
commit
afbf6b33fc
|
@ -256,7 +256,6 @@ class Notifier(object):
|
||||||
"""Used to inform replication listeners that something has happend
|
"""Used to inform replication listeners that something has happend
|
||||||
without waking up any of the normal user event streams"""
|
without waking up any of the normal user event streams"""
|
||||||
with PreserveLoggingContext():
|
with PreserveLoggingContext():
|
||||||
with Measure(self.clock, "on_new_replication_data"):
|
|
||||||
self.notify_replication()
|
self.notify_replication()
|
||||||
|
|
||||||
@defer.inlineCallbacks
|
@defer.inlineCallbacks
|
||||||
|
|
Loading…
Reference in New Issue