mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-11-17 23:50:11 -05:00
Rename direction to step, apply checks consistently
This commit is contained in:
parent
e36bfbab38
commit
a2866e2e6a
2 changed files with 16 additions and 16 deletions
|
|
@ -97,7 +97,7 @@ class DataStore(RoomMemberStore, RoomStore,
|
|||
db_conn, "events", "stream_ordering"
|
||||
)
|
||||
self._backfill_id_gen = StreamIdGenerator(
|
||||
db_conn, "events", "stream_ordering", direction=-1
|
||||
db_conn, "events", "stream_ordering", step=-1
|
||||
)
|
||||
self._receipts_id_gen = StreamIdGenerator(
|
||||
db_conn, "receipts_linearized", "stream_id"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue