MatrixSynapse/synapse
Erik Johnston bd558a6dc3
Speed up state res in rare case we don't have all events (#16116)
If we don't have all the auth events in a room then not all state events will have a chain cover index. Even so, we can still use the chain cover index on the events that do have it, rather than bailing and using the slower functions.

This situation should not arise for newly persisted rooms, as we check we have the full auth chain for each event, but can happen for existing rooms.

c.f. #15245
2023-08-18 15:32:06 +01:00
..
_scripts Run pyupgrade for python 3.7 & 3.8. (#16110) 2023-08-15 08:11:20 -04:00
api MSC3861: allow impersonation by an admin using a query param (#16132) 2023-08-18 15:46:46 +02:00
app
appservice Move support for application service query parameter authorization behind a configuration option (#16017) 2023-08-03 11:43:51 -07:00
config Allow customizing IdP name and icon for SAML and CAS (#16094) 2023-08-11 20:15:17 +00:00
crypto
events Drop backwards compat hack for event serialization (#16069) 2023-08-07 10:37:08 -07:00
federation Rename pagination&purge locks and add comments explaining them (#16112) 2023-08-16 16:19:54 +02:00
handlers Disable caching in /sync corner case (#16080) 2023-08-17 10:22:50 +01:00
http
logging Run pyupgrade for python 3.7 & 3.8. (#16110) 2023-08-15 08:11:20 -04:00
media
metrics
module_api Run pyupgrade for python 3.7 & 3.8. (#16110) 2023-08-15 08:11:20 -04:00
push
replication Run pyupgrade for python 3.7 & 3.8. (#16110) 2023-08-15 08:11:20 -04:00
res
rest Allow filtering for admins in the list accounts admin API (#16114) 2023-08-18 12:26:38 +01:00
server_notices
spam_checker_api
state
static
storage Speed up state res in rare case we don't have all events (#16116) 2023-08-18 15:32:06 +01:00
streams Use mypy 1.0 (#15052) 2023-02-16 16:09:11 +00:00
types Run pyupgrade for python 3.7 & 3.8. (#16110) 2023-08-15 08:11:20 -04:00
util Attempt to fix twisted trunk (#16115) 2023-08-15 16:07:13 +00:00
__init__.py Run pyupgrade for python 3.7 & 3.8. (#16110) 2023-08-15 08:11:20 -04:00
event_auth.py
notifier.py Add ability to wait for locks and add locks to purge history / room deletion (#15791) 2023-07-31 10:58:03 +01:00
py.typed
server.py Stabilize support for MSC3970: updated transaction semantics (scope to `device_id`) (#15629) 2023-08-04 07:47:18 -04:00
visibility.py Run pyupgrade for python 3.7 & 3.8. (#16110) 2023-08-15 08:11:20 -04:00