Merge pull request #2923 from matrix-org/erikj/stream_ago_worker

Calculate stream_ordering_month_ago correctly on workers
This commit is contained in:
Erik Johnston 2018-03-01 16:23:54 +00:00 committed by GitHub
commit 22518e2833
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 85 additions and 80 deletions

View file

@ -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