MatrixSynapse/synapse/handlers
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 Move RoomContextHandler out of Handlers 2018-07-18 15:33:03 +01:00
_base.py Use new getters 2018-07-23 13:17:22 +01:00
account_data.py
admin.py run isort 2018-07-09 16:09:20 +10:00
appservice.py Remove unnecessary extra function call layer 2018-10-08 14:06:19 +01:00
auth.py Correctly account for cpu usage by background threads (#4074) 2018-10-23 13:12:32 +01:00
deactivate_account.py Give some more things logcontexts (#4077) 2018-10-23 14:29:17 +01:00
device.py Rename async to async_helpers because `async` is a keyword on Python 3.7 (#3678) 2018-08-10 23:50:21 +10:00
devicemessage.py run isort 2018-07-09 16:09:20 +10:00
directory.py Add config option to control alias creation 2018-10-19 10:22:45 +01:00
e2e_keys.py Replaced all occurences of e.message with str(e) 2018-09-27 13:38:50 +02:00
e2e_room_keys.py Linting soothes the savage PEP8 monster 2018-10-12 13:47:43 +01:00
events.py Check room visibility for /event/ requests 2018-08-02 15:03:27 +01:00
federation.py Merge pull request #4040 from matrix-org/erikj/states_res_v2_rebase 2018-10-24 11:12:12 +01:00
groups_local.py Comments help 2018-10-23 10:25:31 -06:00
identity.py Log when we 3pid/unbind request fails 2018-08-09 10:09:56 +01:00
initial_sync.py Refactor state group lookup to reduce DB hits (#4011) 2018-10-25 17:49:55 +01:00
message.py Refactor state group lookup to reduce DB hits (#4011) 2018-10-25 17:49:55 +01:00
pagination.py Refactor state group lookup to reduce DB hits (#4011) 2018-10-25 17:49:55 +01:00
presence.py Integrate presence from hotfixes (#3694) 2018-08-18 01:08:45 +10:00
profile.py Fix exception handling in fetching remote profiles 2018-10-03 11:34:30 +01:00
read_marker.py Rename async to async_helpers because `async` is a keyword on Python 3.7 (#3678) 2018-08-10 23:50:21 +10:00
receipts.py Remove redundant run_as_background_process() from pusherpool 2018-10-22 16:12:11 +01:00
register.py remove trailing whiter space 2018-10-24 16:08:25 +01:00
room.py Refactor state group lookup to reduce DB hits (#4011) 2018-10-25 17:49:55 +01:00
room_list.py Fix roomlist since tokens on Python 3 (#4046) 2018-10-17 23:04:55 +11:00
room_member.py Use directory server for room joins (#3899) 2018-09-18 18:27:37 +01:00
room_member_worker.py Use new helper base class for membership requests 2018-07-31 14:32:23 +01:00
search.py Port handlers/ to Python 3 (#3803) 2018-09-07 00:22:23 +10:00
set_password.py run isort 2018-07-09 16:09:20 +10:00
sync.py Refactor state group lookup to reduce DB hits (#4011) 2018-10-25 17:49:55 +01:00
typing.py Merge pull request #3964 from matrix-org/rav/remove_localhost_checks 2018-09-28 13:35:47 +01:00
user_directory.py Give some more things logcontexts (#4077) 2018-10-23 14:29:17 +01:00