summary refs log tree commit diff
path: root/synapse/storage/__init__.py
diff options
context:
space:
mode:
authorHubert Chathi <hubert@uhoreg.ca>2019-08-28 17:17:21 -0700
committerHubert Chathi <hubert@uhoreg.ca>2019-08-28 17:17:21 -0700
commit3b0b22cb059f7dfd1d7a7878fe391be38ee91d71 (patch)
tree953c94f743e2d17c01357f6a733b8dda8f12b218 /synapse/storage/__init__.py
parentmake isort happy (diff)
downloadsynapse-3b0b22cb059f7dfd1d7a7878fe391be38ee91d71.tar.xz
use stream ID generator instead of timestamp
Diffstat (limited to 'synapse/storage/__init__.py')
-rw-r--r--synapse/storage/__init__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/storage/__init__.py b/synapse/storage/__init__.py
index 0a64f90624..e9a9c2cd8d 100644
--- a/synapse/storage/__init__.py
+++ b/synapse/storage/__init__.py
@@ -136,6 +136,9 @@ class DataStore(
         self._device_list_id_gen = StreamIdGenerator(
             db_conn, "device_lists_stream", "stream_id"
         )
+        self._cross_signing_id_gen = StreamIdGenerator(
+            db_conn, "e2e_cross_signing_keys", "stream_id"
+        )
 
         self._access_tokens_id_gen = IdGenerator(db_conn, "access_tokens", "id")
         self._event_reports_id_gen = IdGenerator(db_conn, "event_reports", "id")