diff options
author | Erik Johnston <erik@matrix.org> | 2018-02-21 10:39:27 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-02-21 10:43:31 +0000 |
commit | cbaad969f951c2db067ced709154151a7dfaf6f8 (patch) | |
tree | a72d9b26a1cc746e5b45083aca20c8a72dfe2070 /synapse/storage/__init__.py | |
parent | Merge pull request #2896 from matrix-org/erikj/split_receipts_store (diff) | |
download | synapse-cbaad969f951c2db067ced709154151a7dfaf6f8.tar.xz |
Split PushRulesStore
Diffstat (limited to 'synapse/storage/__init__.py')
-rw-r--r-- | synapse/storage/__init__.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/synapse/storage/__init__.py b/synapse/storage/__init__.py index e1c4fe086e..cd2759858c 100644 --- a/synapse/storage/__init__.py +++ b/synapse/storage/__init__.py @@ -177,18 +177,6 @@ class DataStore(RoomMemberStore, RoomStore, prefilled_cache=presence_cache_prefill ) - push_rules_prefill, push_rules_id = self._get_cache_dict( - db_conn, "push_rules_stream", - entity_column="user_id", - stream_column="stream_id", - max_value=self._push_rules_stream_id_gen.get_current_token()[0], - ) - - self.push_rules_stream_cache = StreamChangeCache( - "PushRulesStreamChangeCache", push_rules_id, - prefilled_cache=push_rules_prefill, - ) - max_device_inbox_id = self._device_inbox_id_gen.get_current_token() device_inbox_prefill, min_device_inbox_id = self._get_cache_dict( db_conn, "device_inbox", |