mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-15 09:03:51 +01:00
TODO
This commit is contained in:
parent
1586f2c7e7
commit
49008e674f
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue