diff options
author | Erik Johnston <erik@matrix.org> | 2018-02-16 12:08:42 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-02-21 10:15:04 +0000 |
commit | ca9b9d970374766f7b53dc5b1762cfa1b0e1a5dd (patch) | |
tree | 3d3b5970cba10a4d5c674a2e2de1e25f15eed5e6 /synapse/storage/__init__.py | |
parent | Merge pull request #2896 from matrix-org/erikj/split_receipts_store (diff) | |
download | synapse-ca9b9d970374766f7b53dc5b1762cfa1b0e1a5dd.tar.xz |
Split AccountDataStore and TagStore
Diffstat (limited to 'synapse/storage/__init__.py')
-rw-r--r-- | synapse/storage/__init__.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/synapse/storage/__init__.py b/synapse/storage/__init__.py index e1c4fe086e..e221284ee2 100644 --- a/synapse/storage/__init__.py +++ b/synapse/storage/__init__.py @@ -104,9 +104,6 @@ class DataStore(RoomMemberStore, RoomStore, db_conn, "events", "stream_ordering", step=-1, extra_tables=[("ex_outlier_stream", "event_stream_ordering")] ) - self._account_data_id_gen = StreamIdGenerator( - db_conn, "account_data_max_stream_id", "stream_id" - ) self._presence_id_gen = StreamIdGenerator( db_conn, "presence_stream", "stream_id" ) @@ -159,11 +156,6 @@ class DataStore(RoomMemberStore, RoomStore, "MembershipStreamChangeCache", events_max, ) - account_max = self._account_data_id_gen.get_current_token() - self._account_data_stream_cache = StreamChangeCache( - "AccountDataAndTagsChangeCache", account_max, - ) - self._presence_on_startup = self._get_active_presence(db_conn) presence_cache_prefill, min_presence_val = self._get_cache_dict( |