mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-18 16:02:15 +01:00
Make sure max stream ordering only increases
This commit is contained in:
parent
52d1008661
commit
7b6d519482
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ class HttpPusher(object):
|
||||||
@defer.inlineCallbacks
|
@defer.inlineCallbacks
|
||||||
def on_new_notifications(self, min_stream_ordering, max_stream_ordering):
|
def on_new_notifications(self, min_stream_ordering, max_stream_ordering):
|
||||||
with Measure(self.clock, "push.on_new_notifications"):
|
with Measure(self.clock, "push.on_new_notifications"):
|
||||||
self.max_stream_ordering = max_stream_ordering
|
self.max_stream_ordering = max(max_stream_ordering, self.max_stream_ordering)
|
||||||
yield self._process()
|
yield self._process()
|
||||||
|
|
||||||
@defer.inlineCallbacks
|
@defer.inlineCallbacks
|
||||||
|
|
Loading…
Reference in a new issue