summary refs log tree commit diff
path: root/changelog.d
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2023-02-02 13:45:12 -0500
committerGitHub <noreply@github.com>2023-02-02 13:45:12 -0500
commitda05b70af5bf84825332b2ac0d63c6deda4b376f (patch)
tree7fa89726e634ecd531a0b18cc468198a590dbf47 /changelog.d
parentDo not calculate presence or ephemeral events when they are filtered out (#14... (diff)
downloadsynapse-da05b70af5bf84825332b2ac0d63c6deda4b376f.tar.xz
Skip unused calculations in sync handler. (#14908)
If a sync request does not need to calculate per-room entries &
is not generating presence & is not generating device list data
(e.g. during initial sync) avoid the expensive calculation of room
specific data.

This is a micro-optimisation for clients syncing simply to receive
to-device information.
Diffstat (limited to 'changelog.d')
-rw-r--r--changelog.d/14908.misc1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/14908.misc b/changelog.d/14908.misc
new file mode 100644
index 0000000000..3657623602
--- /dev/null
+++ b/changelog.d/14908.misc
@@ -0,0 +1 @@
+Improve performance of `/sync` in a few situations.