summary refs log tree commit diff
path: root/changelog.d
diff options
context:
space:
mode:
authorErik Johnston <erikj@element.io>2024-04-05 12:46:34 +0100
committerGitHub <noreply@github.com>2024-04-05 12:46:34 +0100
commit5360baeb6439366c29d55038da7f677c64eea4bf (patch)
tree964ceb5610ce4fb1ebf8aed44faa15b406b4d6d5 /changelog.d
parentFix bug in calculating state for non-gappy syncs (#16942) (diff)
downloadsynapse-5360baeb6439366c29d55038da7f677c64eea4bf.tar.xz
Pull out fewer receipts from DB when doing push (#17049)
Before we were pulling out *all* read receipts for a user for every
event we pushed. Instead let's only pull out the relevant receipts.

This also pulled out the event rows for each receipt, causing load on
the events table.
Diffstat (limited to 'changelog.d')
-rw-r--r--changelog.d/17049.misc1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/17049.misc b/changelog.d/17049.misc
new file mode 100644
index 0000000000..f71a6473a2
--- /dev/null
+++ b/changelog.d/17049.misc
@@ -0,0 +1 @@
+Improve database performance by reducing number of receipts fetched when sending push notifications.