summary refs log tree commit diff
path: root/changelog.d
diff options
context:
space:
mode:
authorreivilibre <oliverw@matrix.org>2023-08-08 10:10:07 +0000
committerGitHub <noreply@github.com>2023-08-08 11:10:07 +0100
commitf3dc6dc19f902b638c164097342136010f0769d1 (patch)
tree2b502e515567f4c5c2a2be8151cc98eebd946beb /changelog.d
parentFix endpoint improperly declaring support for MSC3814 (#16068) (diff)
downloadsynapse-f3dc6dc19f902b638c164097342136010f0769d1.tar.xz
Remove old rows from the `cache_invalidation_stream_by_instance` table automatically. (This table is not used when Synapse is configured to use SQLite.) (#15868)
* Add a cache invalidation clean-up task

* Run the cache invalidation stream clean-up on the background worker

* Tune down

* call_later is in millis!

* Newsfile

Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>

* fixup! Add a cache invalidation clean-up task

* Update synapse/storage/databases/main/cache.py

Co-authored-by: Eric Eastwood <erice@element.io>

* Update synapse/storage/databases/main/cache.py

Co-authored-by: Eric Eastwood <erice@element.io>

* MILLISEC -> MS

* Expand on comment

* Move and tweak comment about Postgres

* Use `wrap_as_background_process`

---------

Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>
Co-authored-by: Eric Eastwood <erice@element.io>
Diffstat (limited to 'changelog.d')
-rw-r--r--changelog.d/15868.feature1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/15868.feature b/changelog.d/15868.feature
new file mode 100644
index 0000000000..a866bf5774
--- /dev/null
+++ b/changelog.d/15868.feature
@@ -0,0 +1 @@
+Remove old rows from the `cache_invalidation_stream_by_instance` table automatically (this table is unused in SQLite).