0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-15 09:03:51 +01:00
This commit is contained in:
Brendan Abolivier 2019-10-31 23:12:15 +00:00
parent 1586f2c7e7
commit 49008e674f
No known key found for this signature in database
GPG key ID: 1E015C145F1916CD

View file

@ -548,6 +548,8 @@ class EventsBackgroundUpdatesStore(BackgroundUpdateStore):
# We want to return true (to end the background update) only when # We want to return true (to end the background update) only when
# the query returned with less rows than we asked for. # 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 return len(rows) != batch_size
end = yield self.runInteraction( end = yield self.runInteraction(