summary refs log tree commit diff
path: root/synapse/storage/__init__.py
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2016-09-09 11:48:23 +0100
committerMark Haines <mark.haines@matrix.org>2016-09-09 11:48:23 +0100
commit6a6cbfcf1e12c0f34a280764f892eaa23e720d57 (patch)
treeeebe6c9c13bbbbc86819c9a7a97e63b145b150f6 /synapse/storage/__init__.py
parentMerge pull request #1087 from matrix-org/markjh/reapply_delta (diff)
downloadsynapse-6a6cbfcf1e12c0f34a280764f892eaa23e720d57.tar.xz
Track the max_stream_device_id in a separate table, since we delete from the inbox table
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 828e5ca60b..a61e83d5de 100644
--- a/synapse/storage/__init__.py
+++ b/synapse/storage/__init__.py
@@ -111,7 +111,7 @@ class DataStore(RoomMemberStore, RoomStore,
             db_conn, "presence_stream", "stream_id"
         )
         self._device_inbox_id_gen = StreamIdGenerator(
-            db_conn, "device_inbox", "stream_id"
+            db_conn, "device_max_stream_id", "stream_id"
         )
 
         self._transaction_id_gen = IdGenerator(db_conn, "sent_transactions", "id")