summary refs log tree commit diff
path: root/synapse/replication/slave
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-03-01 14:05:41 +0000
committerErik Johnston <erik@matrix.org>2018-03-01 14:20:53 +0000
commit6411f725bedbc4701e9c624ae23f47d52ff0bd7c (patch)
treeace981a392c8fc023950e7680a72c1526699149f /synapse/replication/slave
parentMerge pull request #2920 from matrix-org/erikj/retry_send_event (diff)
downloadsynapse-6411f725bedbc4701e9c624ae23f47d52ff0bd7c.tar.xz
Calculate stream_ordering_month_ago correctly on workers
Diffstat (limited to 'synapse/replication/slave')
-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