synapse-old/synapse/storage
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
..
engines Port storage/ to Python 3 (#3725) 2018-08-31 00:19:58 +10:00
schema Don't reuse backup versions 2018-10-05 15:08:36 +01:00
util run isort 2018-07-09 16:09:20 +10:00
__init__.py Merge branch 'develop' into e2e_backups 2018-08-24 11:44:26 -04:00
_base.py Make scripts/ and scripts-dev/ pass pyflakes (and the rest of the codebase on py3) (#4068) 2018-10-20 11:16:55 +11:00
account_data.py run isort 2018-07-09 16:09:20 +10:00
appservice.py Make EventStore inherit from EventFederationStore 2018-07-26 12:48:51 +01:00
background_updates.py Run things as background processes 2018-07-18 20:55:05 +01:00
client_ips.py Fix client IPs being broken on Python 3 (#3908) 2018-09-20 20:14:34 +10:00
deviceinbox.py Port storage/ to Python 3 (#3725) 2018-08-31 00:19:58 +10:00
devices.py Port storage/ to Python 3 (#3725) 2018-08-31 00:19:58 +10:00
directory.py fix thinkos 2018-09-29 02:14:40 +01:00
e2e_room_keys.py Misc PR feedback bits 2018-10-12 11:48:56 +01:00
end_to_end_keys.py Port storage/ to Python 3 (#3725) 2018-08-31 00:19:58 +10:00
event_federation.py Fix incorrect truncation in get_missing_events 2018-10-16 21:10:04 +01:00
event_push_actions.py Fix some looping_call calls which were broken in #3604 2018-07-26 11:48:08 +01:00
events.py Refactor state group lookup to reduce DB hits (#4011) 2018-10-25 17:49:55 +01:00
events_worker.py Port storage/ to Python 3 (#3725) 2018-08-31 00:19:58 +10:00
filtering.py Port storage/ to Python 3 (#3725) 2018-08-31 00:19:58 +10:00
group_server.py run isort 2018-07-09 16:09:20 +10:00
keys.py Make scripts/ and scripts-dev/ pass pyflakes (and the rest of the codebase on py3) (#4068) 2018-10-20 11:16:55 +11:00
media_repository.py Keep track of last access time for local media 2018-01-17 10:24:43 +00:00
monthly_active_users.py add new line 2018-10-25 16:13:43 +01:00
openid.py Add an openidish mechanism for proving to third parties that you own a given user_id 2016-05-05 13:42:44 +01:00
prepare_database.py api into monthly_active_users table 2018-07-31 16:36:24 +01:00
presence.py run isort 2018-07-09 16:09:20 +10:00
profile.py Remote profile cache should remain in master worker 2018-08-17 11:37:42 +01:00
push_rule.py Merge remote-tracking branch 'origin/develop' into rav/remove_who_forgot_in_room 2018-07-23 17:15:12 +01:00
pusher.py Make scripts/ and scripts-dev/ pass pyflakes (and the rest of the codebase on py3) (#4068) 2018-10-20 11:16:55 +11:00
receipts.py Update return value docstring 2018-07-12 09:45:37 +01:00
registration.py fix style inconsistencies 2018-10-24 17:18:08 +01:00
rejections.py run isort 2018-07-09 16:09:20 +10:00
room.py Merge branch 'develop' of github.com:matrix-org/synapse into erikj/split_profiles 2018-08-17 14:15:48 +01:00
roommember.py Speed up lazy loading (#3827) 2018-09-12 00:50:39 +01:00
search.py run isort 2018-07-09 16:09:20 +10:00
signatures.py Make scripts/ and scripts-dev/ pass pyflakes (and the rest of the codebase on py3) (#4068) 2018-10-20 11:16:55 +11:00
state.py Refactor state group lookup to reduce DB hits (#4011) 2018-10-25 17:49:55 +01:00
stream.py Comments on get_all_new_events_stream 2018-10-12 09:55:41 +01:00
tags.py run isort 2018-07-09 16:09:20 +10:00
transactions.py Make scripts/ and scripts-dev/ pass pyflakes (and the rest of the codebase on py3) (#4068) 2018-10-20 11:16:55 +11:00
user_directory.py s/becuase/because/g 2018-07-10 17:58:18 +01:00
user_erasure_store.py run isort 2018-07-09 16:09:20 +10:00