summary refs log tree commit diff
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2016-03-04 16:20:22 +0000
committerMark Haines <mark.haines@matrix.org>2016-03-04 16:20:22 +0000
commit9848b54cac2c7e077317eec85ee0de2cb567c561 (patch)
tree013fd22bd97253c146a85be0e2742f603308bcdf
parentprefill the push rules stream change cache (diff)
downloadsynapse-9848b54cac2c7e077317eec85ee0de2cb567c561.tar.xz
Prefill from the correct stream
-rw-r--r--synapse/storage/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/__init__.py b/synapse/storage/__init__.py
index ab2f115adf..6f37a85d09 100644
--- a/synapse/storage/__init__.py
+++ b/synapse/storage/__init__.py
@@ -161,7 +161,7 @@ class DataStore(RoomMemberStore, RoomStore,
         )
 
         push_rules_prefill, push_rules_id = self._get_cache_dict(
-            db_conn, "presence_stream",
+            db_conn, "push_rules_stream",
             entity_column="user_id",
             stream_column="stream_id",
             max_value=self._push_rules_stream_id_gen.get_max_token()[0],