summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2019-10-31 14:46:16 +0000
committerBrendan Abolivier <babolivier@matrix.org>2019-11-04 09:56:10 +0000
commita46574281d90d45e4a5f3ecede3261d17726719e (patch)
tree69239e1eb94b30a84ff5b5267b5ed73f94c826cc /synapse
parentMSC2326: Add background update to take previous events into account (diff)
downloadsynapse-a46574281d90d45e4a5f3ecede3261d17726719e.tar.xz
Use the right format for rows
Diffstat (limited to 'synapse')
-rw-r--r--synapse/storage/data_stores/main/events_bg_updates.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/data_stores/main/events_bg_updates.py b/synapse/storage/data_stores/main/events_bg_updates.py
index e702fca149..013242b04e 100644
--- a/synapse/storage/data_stores/main/events_bg_updates.py
+++ b/synapse/storage/data_stores/main/events_bg_updates.py
@@ -524,7 +524,7 @@ class EventsBackgroundUpdatesStore(BackgroundUpdateStore):
                 (last_event_id, batch_size)
             )
 
-            rows = txn.fetchall()
+            rows = self.cursor_to_dict(txn)
             if not rows:
                 return True