diff options
author | Erik Johnston <erik@matrix.org> | 2016-09-15 17:34:59 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-09-15 17:34:59 +0100 |
commit | de4f798f01e2ad478639b103d293b86079aaf0bc (patch) | |
tree | afc350e9be2b4213f0c100cfc41f321b46b033e0 /synapse/storage/__init__.py | |
parent | Merge pull request #1125 from matrix-org/erikj/public_room_cache (diff) | |
download | synapse-de4f798f01e2ad478639b103d293b86079aaf0bc.tar.xz |
Handling expiring stream extrems correctly.
Diffstat (limited to 'synapse/storage/__init__.py')
-rw-r--r-- | synapse/storage/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/storage/__init__.py b/synapse/storage/__init__.py index 0099a3f5bb..9996f195a0 100644 --- a/synapse/storage/__init__.py +++ b/synapse/storage/__init__.py @@ -222,6 +222,8 @@ class DataStore(RoomMemberStore, RoomStore, self._find_stream_orderings_for_times, 60 * 60 * 1000 ) + self._stream_order_on_start = self.get_room_max_stream_ordering() + super(DataStore, self).__init__(hs) def take_presence_startup_info(self): |