MatrixSynapse/synapse/storage/databases/main
Patrick Cloke 8a05d5de21
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>
2023-01-26 17:15:36 +00:00
..
__init__.py
account_data.py
appservice.py
cache.py
censor_events.py
client_ips.py
deviceinbox.py
devices.py
directory.py
e2e_room_keys.py
end_to_end_keys.py
event_federation.py
event_push_actions.py
events.py
events_bg_updates.py
events_forward_extremities.py
events_worker.py
filtering.py
keys.py
lock.py
media_repository.py
metrics.py
monthly_active_users.py
openid.py
presence.py
profile.py
purge_events.py
push_rule.py
pusher.py
receipts.py
registration.py
rejections.py
relations.py
room.py Batch look-ups to see if rooms are partial stated. (#14917) 2023-01-26 17:15:36 +00:00
room_batch.py
roommember.py
search.py
session.py
signatures.py
state.py
state_deltas.py
stats.py
stream.py
tags.py
transactions.py
ui_auth.py
user_directory.py
user_erasure_store.py