summary refs log tree commit diff
path: root/changelog.d/14917.misc
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2023-01-26 12:15:36 -0500
committerGitHub <noreply@github.com>2023-01-26 17:15:36 +0000
commit8a05d5de21888cdd0b53870fead3a1eae64f0b17 (patch)
tree2734c2f7cdb704d4090658d049f3691cdd479dc1 /changelog.d/14917.misc
parentFix initialization of `_device_list_id_gen` (#14914) (diff)
downloadsynapse-8a05d5de21888cdd0b53870fead3a1eae64f0b17.tar.xz
Batch look-ups to see if rooms are partial stated. (#14917)
* Batch look-ups to see if rooms are partial stated.

* Fix issues found in linting.

* Fix typo.

* Apply suggestions from code review

Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com>

* Clarify comments.

Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com>

* Also improve the cache size while we're at it

* is_partial_state_rooms -> is_partial_state_room_batched

* Run `black`

* Improve annotation for `simple_select_many_batch`

* Fix is_partial_state_room_batched impl

* Okay, _actually_ fix impl

* Update description.

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

Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>

* Run black.

Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com>
Co-authored-by: David Robertson <davidr@element.io>
Diffstat (limited to 'changelog.d/14917.misc')
-rw-r--r--changelog.d/14917.misc1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/14917.misc b/changelog.d/14917.misc
new file mode 100644
index 0000000000..4d1dd2639a
--- /dev/null
+++ b/changelog.d/14917.misc
@@ -0,0 +1 @@
+Faster joins: Improve performance of looking up partial-state status of rooms.