* Add missing comma * Newsfile Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org> --------- Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>
This commit is contained in:
parent
2503126d52
commit
38272be037
|
@ -0,0 +1 @@
|
|||
Improve DB performance of clearing out old data from `stream_ordering_to_exterm`.
|
|
@ -1708,7 +1708,7 @@ class EventFederationWorkerStore(SignatureWorkerStore, EventsWorkerStore, SQLBas
|
|||
WHERE stream_ordering < ?
|
||||
"""
|
||||
txn.execute(
|
||||
sql, (self.stream_ordering_month_ago) # type: ignore[attr-defined]
|
||||
sql, (self.stream_ordering_month_ago,) # type: ignore[attr-defined]
|
||||
)
|
||||
|
||||
await self.db_pool.runInteraction(
|
||||
|
|
Loading…
Reference in New Issue