MatrixSynapse/synapse/storage
Erik Johnston dd52d4de4c Limit number of entries to prefill from cache
Some tables, like device_inbox, take a long time to query at startup for
the stream change cache prefills. This is likely because they are slower
growing streams and so are more fragmented on disk. For now, lets pull
fewer entries out to make startup quicker.

In future, we should add a better index to make it even faster.
2017-01-10 14:34:50 +00:00
..
engines Optionally make committing to postgres asynchronous. 2016-06-20 17:53:38 +01:00
schema Merge pull request #1676 from matrix-org/erikj/room_list 2016-12-12 17:00:10 +00:00
util Add tests for redactions 2016-04-07 16:52:07 +01:00
__init__.py Limit number of entries to prefill from cache 2017-01-10 14:34:50 +00:00
_base.py Limit number of entries to prefill from cache 2017-01-10 14:34:50 +00:00
account_data.py Don't hit DB for noop replications queries 2016-06-08 11:33:30 +01:00
appservice.py Ignore AS users when fetching push rules 2016-11-23 11:01:01 +00:00
background_updates.py Add WHERE clause support to index creation 2016-09-12 16:55:01 +01:00
client_ips.py PEP8 2016-07-22 13:21:07 +01:00
deviceinbox.py Add some logging for syncing to_device events 2016-12-15 18:16:10 +00:00
devices.py Log the types and values when failing to store devices 2016-09-07 17:19:18 +01:00
directory.py Add some invalidations to a cache_stream 2016-08-15 11:15:17 +01:00
end_to_end_keys.py PEP8 2016-08-03 15:42:08 +01:00
event_federation.py Remove spurious AS clause 2016-09-21 16:28:47 +01:00
event_push_actions.py Comment 2016-11-23 15:59:59 +00:00
events.py More logging for the linearizer and for get_events 2017-01-05 12:32:47 +00:00
filtering.py Fail with a coherent error message if `/sync?filter=` is invalid 2016-11-21 13:15:25 +00:00
keys.py Add more key storage funcs into slave store 2016-07-28 15:41:26 +01:00
media_repository.py Implement purge_media_cache admin API 2016-06-29 14:57:59 +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 Handle sending events and device messages over federation 2016-11-17 15:48:04 +00:00
presence.py Hook up the send queue and create a federation sender worker 2016-11-16 17:34:44 +00:00
profile.py Add the create_profile method back since the tests use it 2016-06-17 19:20:47 +01:00
push_rule.py Ignore AS users when fetching push rules 2016-11-23 11:01:01 +00:00
pusher.py Comment 2016-11-04 10:53:42 +00:00
receipts.py Fix result of insert_receipt 2016-12-08 12:11:34 +00:00
registration.py Add /account/3pid/delete endpoint 2016-12-20 18:27:30 +00:00
rejections.py
room.py Add cache to get_public_room_ids_at_stream_id 2016-12-12 14:41:51 +00:00
roommember.py fix annoying typos 2017-01-05 13:39:43 +00:00
search.py Remove spurious comment 2016-11-03 15:04:32 +00:00
signatures.py Remove lru option 2016-08-19 14:17:11 +01:00
state.py fix annoying typos 2017-01-05 13:39:43 +00:00
stream.py Add profile data to the room_membership table for joins 2016-12-08 13:08:41 +00:00
tags.py Don't hit DB for noop replications queries 2016-06-08 11:33:30 +01:00
transactions.py Fix tests and flake8 2016-11-22 18:18:31 +00:00