mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-25 02:55:46 +03:00
* 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
2 changed files with 2 additions and 1 deletions
1
changelog.d/15429.misc
Normal file
1
changelog.d/15429.misc
Normal file
|
@ -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 a new issue