summary refs log tree commit diff
path: root/synapse/replication/slave
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-09-16 08:37:39 +0100
committerErik Johnston <erik@matrix.org>2016-09-16 08:37:39 +0100
commit418bcd43093b10fc93487376e23973278850b502 (patch)
treef3c09ea3528b3c135c12ffc3d066429a3f0a0238 /synapse/replication/slave
parentAdd very basic filter API to /publicRooms (diff)
downloadsynapse-418bcd43093b10fc93487376e23973278850b502.tar.xz
Add new storage function to slave store
Diffstat (limited to 'synapse/replication/slave')
-rw-r--r--synapse/replication/slave/storage/events.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/replication/slave/storage/events.py b/synapse/replication/slave/storage/events.py
index cc32c66792..0c26e96e98 100644
--- a/synapse/replication/slave/storage/events.py
+++ b/synapse/replication/slave/storage/events.py
@@ -62,6 +62,7 @@ class SlavedEventStore(BaseSlavedStore):
         )
 
         self.stream_ordering_month_ago = 0
+        self._stream_order_on_start = self.get_room_max_stream_ordering()
 
     # Cached functions can't be accessed through a class instance so we need
     # to reach inside the __dict__ to extract them.