mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
TODO
This commit is contained in:
parent
1586f2c7e7
commit
49008e674f
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user