mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-18 22:07:50 -04:00
Track the max_stream_device_id in a separate table, since we delete from the inbox table
This commit is contained in:
parent
303b6f29f0
commit
6a6cbfcf1e
4 changed files with 37 additions and 4 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue