diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2019-10-31 23:12:15 +0000 |
---|---|---|
committer | Brendan Abolivier <babolivier@matrix.org> | 2019-11-04 09:56:11 +0000 |
commit | 49008e674f6c5463168e970349ce84c488407834 (patch) | |
tree | 31a6a78801856c860a3dad5fd0f1755f26ae9357 /synapse/storage | |
parent | Fix exit condition (diff) | |
download | synapse-49008e674f6c5463168e970349ce84c488407834.tar.xz |
TODO
Diffstat (limited to 'synapse/storage')
-rw-r--r-- | synapse/storage/data_stores/main/events_bg_updates.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/storage/data_stores/main/events_bg_updates.py b/synapse/storage/data_stores/main/events_bg_updates.py index 72d600c51b..b7b390485b 100644 --- a/synapse/storage/data_stores/main/events_bg_updates.py +++ b/synapse/storage/data_stores/main/events_bg_updates.py @@ -548,6 +548,8 @@ class EventsBackgroundUpdatesStore(BackgroundUpdateStore): # We want to return true (to end the background update) only when # the query returned with less rows than we asked for. + # TODO: this currently doesn't work, i.e. it only runs once whereas + # its opposite does the whole thing, investigate. return len(rows) != batch_size end = yield self.runInteraction( |