forked-synapse/synapse/rest/client/v1
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
..
__init__.py copyrights 2016-01-07 04:26:29 +00:00
admin.py Port rest/ to Python 3 (#3823) 2018-09-12 20:41:31 +10:00
base.py Make auth & transactions more testable (#3499) 2018-07-14 07:34:49 +10:00
directory.py Clean up room alias creation 2018-10-19 10:11:56 +01:00
events.py Port rest/ to Python 3 (#3823) 2018-09-12 20:41:31 +10:00
initial_sync.py Port rest/ to Python 3 (#3823) 2018-09-12 20:41:31 +10:00
login.py Port rest/ to Python 3 (#3823) 2018-09-12 20:41:31 +10:00
logout.py Make auth & transactions more testable (#3499) 2018-07-14 07:34:49 +10:00
presence.py Integrate presence from hotfixes (#3694) 2018-08-18 01:08:45 +10:00
profile.py run isort 2018-07-09 16:09:20 +10:00
push_rule.py Port rest/ to Python 3 (#3823) 2018-09-12 20:41:31 +10:00
pusher.py Port rest/ to Python 3 (#3823) 2018-09-12 20:41:31 +10:00
room.py Refactor state group lookup to reduce DB hits (#4011) 2018-10-25 17:49:55 +01:00
voip.py fix VOIP crashes under Python 3 (#3821) 2018-09-10 14:30:08 +02:00