summary refs log tree commit diff
path: root/synapse/storage/__init__.py
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2016-03-30 12:55:02 +0100
committerMark Haines <mark.haines@matrix.org>2016-03-30 12:55:02 +0100
commit1e25f62ee6a8aaa65c139e264ec2be1f8831eb16 (patch)
treea0ba6b779784f2ee5f0f4e5c9fd275fb02a3534a /synapse/storage/__init__.py
parentMerge pull request #671 from nikriek/jwt-support (diff)
downloadsynapse-1e25f62ee6a8aaa65c139e264ec2be1f8831eb16.tar.xz
Use a stream id generator to assign state group ids
Diffstat (limited to 'synapse/storage/__init__.py')
-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 250ba536ea..aaad38039e 100644
--- a/synapse/storage/__init__.py
+++ b/synapse/storage/__init__.py
@@ -116,7 +116,7 @@ class DataStore(RoomMemberStore, RoomStore,
         )
 
         self._transaction_id_gen = IdGenerator(db_conn, "sent_transactions", "id")
-        self._state_groups_id_gen = IdGenerator(db_conn, "state_groups", "id")
+        self._state_groups_id_gen = StreamIdGenerator(db_conn, "state_groups", "id")
         self._access_tokens_id_gen = IdGenerator(db_conn, "access_tokens", "id")
         self._refresh_tokens_id_gen = IdGenerator(db_conn, "refresh_tokens", "id")
         self._push_rule_id_gen = IdGenerator(db_conn, "push_rules", "id")