summary refs log tree commit diff
path: root/synapse/replication
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2018-03-01 16:23:54 +0000
committerGitHub <noreply@github.com>2018-03-01 16:23:54 +0000
commit22518e2833f988f75e24ced851c6b44b718e1e5c (patch)
treef4819940a763a31dd3ed862de404ac5badac65b2 /synapse/replication
parentMerge pull request #2922 from matrix-org/erikj/split_room_store (diff)
parentDefault stream_ordering_*_ago to None (diff)
downloadsynapse-22518e2833f988f75e24ced851c6b44b718e1e5c.tar.xz
Merge pull request #2923 from matrix-org/erikj/stream_ago_worker
Calculate stream_ordering_month_ago correctly on workers
Diffstat (limited to 'synapse/replication')
-rw-r--r--synapse/replication/slave/storage/events.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/synapse/replication/slave/storage/events.py b/synapse/replication/slave/storage/events.py
index de0b26f437..a4d7430f9b 100644
--- a/synapse/replication/slave/storage/events.py
+++ b/synapse/replication/slave/storage/events.py
@@ -67,7 +67,6 @@ class SlavedEventStore(RoomMemberWorkerStore, EventPushActionsWorkerStore,
             "MembershipStreamChangeCache", events_max,
         )
 
-        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