summary refs log tree commit diff
path: root/synapse/storage/__init__.py
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2016-04-01 13:50:54 +0100
committerMark Haines <mark.haines@matrix.org>2016-04-01 13:50:54 +0100
commita2866e2e6a8fa60a538a98f62e1733ab062020aa (patch)
treee38bab92fd57ceaca9a89f51b1ef85c02226004e /synapse/storage/__init__.py
parentUse a stream id generator for backfilled ids (diff)
downloadsynapse-a2866e2e6a8fa60a538a98f62e1733ab062020aa.tar.xz
Rename direction to step, apply checks consistently
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 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"