summary refs log tree commit diff
path: root/synapse/storage/persist_events.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-12-20 10:48:24 +0000
committerGitHub <noreply@github.com>2019-12-20 10:48:24 +0000
commit75d8f26ac85efd3816d454927f40b6e4c3032df1 (patch)
tree1e88634b8ac0b8418239015d11e97c9e557477f8 /synapse/storage/persist_events.py
parentChange EventContext to use the Storage class (#6564) (diff)
downloadsynapse-75d8f26ac85efd3816d454927f40b6e4c3032df1.tar.xz
Split state groups into a separate data store (#6296)
Diffstat (limited to 'synapse/storage/persist_events.py')
-rw-r--r--synapse/storage/persist_events.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/persist_events.py b/synapse/storage/persist_events.py
index fa03ca9ff7..1ed44925fc 100644
--- a/synapse/storage/persist_events.py
+++ b/synapse/storage/persist_events.py
@@ -183,7 +183,7 @@ class EventsPersistenceStorage(object):
         # so we use separate variables here even though they point to the same
         # store for now.
         self.main_store = stores.main
-        self.state_store = stores.main
+        self.state_store = stores.state
 
         self._clock = hs.get_clock()
         self.is_mine_id = hs.is_mine_id