diff options
author | Erik Johnston <erik@matrix.org> | 2022-05-17 10:34:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-17 09:34:59 +0000 |
commit | 32ef24fbd74b8822c3e57c8ce74b979506aea7be (patch) | |
tree | 3f382ecc962e7f7260c8bd46db8f05179f8a6c39 /changelog.d/12747.bugfix | |
parent | Track in memory events using weakrefs (#10533) (diff) | |
download | synapse-32ef24fbd74b8822c3e57c8ce74b979506aea7be.tar.xz |
Add index to cache invalidations (#12747)
For workers that rarely write to the cache the `get_all_updated_caches` query can become expensive if the worker falls behind when reading the cache.
Diffstat (limited to 'changelog.d/12747.bugfix')
-rw-r--r-- | changelog.d/12747.bugfix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/12747.bugfix b/changelog.d/12747.bugfix new file mode 100644 index 0000000000..0fb0059237 --- /dev/null +++ b/changelog.d/12747.bugfix @@ -0,0 +1 @@ +Fix poor database performance when reading the cache invalidation stream for large servers with lots of workers. |