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
config
crypto
events
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
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
py.typed
server.py
visibility.py Run pyupgrade for python 3.7 & 3.8. (#16110) 2023-08-15 08:11:20 -04:00