MatrixSynapse/tests
Erik Johnston cb53ce9d64
Refactor state group lookup to reduce DB hits (#4011)
Currently when fetching state groups from the data store we make two
hits two the database: once for members and once for non-members (unless
request is filtered to one or the other). This adds needless load to the
datbase, so this PR refactors the lookup to make only a single database
hit.
2018-10-25 17:49:55 +01:00
..
api
app
appservice
config
crypto
events
federation
handlers
http
replication
rest
server_notices
state
storage Refactor state group lookup to reduce DB hits (#4011) 2018-10-25 17:49:55 +01:00
util
__init__.py
server.py
test_distributor.py
test_dns.py
test_event_auth.py
test_federation.py
test_mau.py
test_metrics.py
test_preview.py
test_server.py
test_state.py
test_test_utils.py
test_types.py
test_visibility.py
unittest.py
utils.py