forked-synapse/synapse
Erik Johnston 4a17a647a9
Improve get auth chain difference algorithm. (#7095)
It was originally implemented by pulling the full auth chain of all
state sets out of the database and doing set comparison. However, that
can take a lot work if the state and auth chains are large.

Instead, lets try and fetch the auth chains at the same time and
calculate the difference on the fly, allowing us to bail early if all
the auth chains converge. Assuming that the auth chains do converge more
often than not, this should improve performance. Hopefully.
2020-03-18 16:46:41 +00:00
..
_scripts Replace instance variations of homeserver with correct case/spacing 2019-11-12 13:08:12 +00:00
api Remove special auth and redaction rules for aliases events in experimental room ver. (#7037) 2020-03-09 08:58:25 -04:00
app Break down monthly active users by appservice_id (#7030) 2020-03-06 18:14:19 +00:00
appservice Clean up newline quote marks around the codebase (#6362) 2019-11-21 12:00:14 +00:00
config Revert "Add options to disable setting profile info for prevent changes. (#7053)" 2020-03-17 11:25:01 +00:00
crypto Share SSL contexts for non-federation requests (#7094) 2020-03-17 21:32:25 +00:00
events Remove special auth and redaction rules for aliases events in experimental room ver. (#7037) 2020-03-09 08:58:25 -04:00
federation Remove unused federation endpoint (query_auth) (#7026) 2020-03-17 08:04:49 -04:00
groups Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) 2020-02-21 07:15:07 -05:00
handlers Add an option to the set password API to choose whether to logout other devices. (#7085) 2020-03-18 07:50:00 -04:00
http Share SSL contexts for non-federation requests (#7094) 2020-03-17 21:32:25 +00:00
logging Hopefully mypy is happy now 2020-03-10 14:40:28 +00:00
metrics Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) 2020-02-21 07:15:07 -05:00
module_api Factor out complete_sso_login and expose it to the Module API 2020-03-03 10:54:44 +00:00
push Fix undefined room_id in make_summary_text 2020-03-09 14:10:19 +00:00
replication Store room_versions in EventBase objects (#6875) 2020-03-05 15:46:44 +00:00
res/templates Use innerText instead of innerHTML 2020-03-13 19:09:22 +00:00
rest Add an option to the set password API to choose whether to logout other devices. (#7085) 2020-03-18 07:50:00 -04:00
server_notices Add local_current_membership table (#6655) 2020-01-15 14:59:33 +00:00
spam_checker_api Add type hints to the spam check module (#6915) 2020-02-14 12:49:40 -05:00
state Improve get auth chain difference algorithm. (#7095) 2020-03-18 16:46:41 +00:00
static Fix SSO fallback login 2019-09-12 11:42:47 +01:00
storage Improve get auth chain difference algorithm. (#7095) 2020-03-18 16:46:41 +00:00
streams Bump version of mypy 2019-12-12 15:21:12 +00:00
util Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) 2020-02-21 07:15:07 -05:00
__init__.py v1.11.1 2020-03-03 14:58:37 +00:00
event_auth.py Remove special auth and redaction rules for aliases events in experimental room ver. (#7037) 2020-03-09 08:58:25 -04:00
notifier.py Wake up transaction queue when remote server comes back online (#6706) 2020-01-17 10:27:19 +00:00
python_dependencies.py Type defintions for use in refactoring for redaction changes (#6803) 2020-01-30 11:25:59 +00:00
secrets.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
server.py Share SSL contexts for non-federation requests (#7094) 2020-03-17 21:32:25 +00:00
server.pyi Port PresenceHandler to async/await (#6991) 2020-02-26 15:33:26 +00:00
types.py Validate the alt_aliases property of canonical alias events (#6971) 2020-03-03 07:12:45 -05:00
visibility.py Refactor a bit 2020-03-11 18:49:41 +00:00