Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 38272be

Browse files
authored
Add comma missing from #15382. (#15429)
* Add missing comma * Newsfile Signed-off-by: Olivier Wilkinson (reivilibre) <[email protected]> --------- Signed-off-by: Olivier Wilkinson (reivilibre) <[email protected]>
1 parent 2503126 commit 38272be

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

changelog.d/15429.misc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Improve DB performance of clearing out old data from `stream_ordering_to_exterm`.

synapse/storage/databases/main/event_federation.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1708,7 +1708,7 @@ def _delete_old_forward_extrem_cache_txn(txn: LoggingTransaction) -> None:
17081708
WHERE stream_ordering < ?
17091709
"""
17101710
txn.execute(
1711-
sql, (self.stream_ordering_month_ago) # type: ignore[attr-defined]
1711+
sql, (self.stream_ordering_month_ago,) # type: ignore[attr-defined]
17121712
)
17131713

17141714
await self.db_pool.runInteraction(

0 commit comments

Comments
 (0)