diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2019-10-31 14:46:16 +0000 |
---|---|---|
committer | Brendan Abolivier <babolivier@matrix.org> | 2019-11-04 09:56:10 +0000 |
commit | a46574281d90d45e4a5f3ecede3261d17726719e (patch) | |
tree | 69239e1eb94b30a84ff5b5267b5ed73f94c826cc /synapse | |
parent | MSC2326: Add background update to take previous events into account (diff) | |
download | synapse-a46574281d90d45e4a5f3ecede3261d17726719e.tar.xz |
Use the right format for rows
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/storage/data_stores/main/events_bg_updates.py | 2 |
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 |