diff options
author | Mark Haines <mark.haines@matrix.org> | 2016-04-01 13:50:54 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2016-04-01 13:50:54 +0100 |
commit | a2866e2e6a8fa60a538a98f62e1733ab062020aa (patch) | |
tree | e38bab92fd57ceaca9a89f51b1ef85c02226004e /synapse/storage/__init__.py | |
parent | Use a stream id generator for backfilled ids (diff) | |
download | synapse-a2866e2e6a8fa60a538a98f62e1733ab062020aa.tar.xz |
Rename direction to step, apply checks consistently
Diffstat (limited to 'synapse/storage/__init__.py')
-rw-r--r-- | synapse/storage/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/__init__.py b/synapse/storage/__init__.py index f87e907cd8..57863bba4d 100644 --- a/synapse/storage/__init__.py +++ b/synapse/storage/__init__.py @@ -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" |