anonymousland-synapse/synapse/storage
Erik Johnston 5bec8d660d Make starting pushers faster during start up
We start all pushers on start up and immediately start a background
process to fetch push to send. This makes start up incredibly painful
when dealing with many pushers.

Instead, let's do a quick fast DB check to see if there *may* be push to
send and only start the background processes for those pushers. We also
stagger starting up and doing those checks so that we don't try and
handle all pushers at once.
2019-04-02 16:59:13 +01:00
..
engines Add database version to phonehome stats. (#4753) 2019-02-27 10:21:49 +00:00
schema Fix user directory background update (#4887) 2019-03-19 22:13:53 +11:00
util run isort 2018-07-09 16:09:20 +10:00
__init__.py Fix flake8 (#4519) 2019-01-30 10:53:17 +00:00
_base.py Fix sync bug when accepting invites (#4956) 2019-04-02 12:42:39 +01: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 Migrate the user directory initial population to a background task (#4864) 2019-03-19 04:50:24 +11:00
client_ips.py Merge pull request #4627 from matrix-org/erikj/user_ips_analyze 2019-02-12 13:05:09 +00:00
deviceinbox.py Fixup slave stores 2019-03-04 18:04:57 +00:00
devices.py Fixup slave stores 2019-03-04 18:04:57 +00:00
directory.py fix thinkos 2018-09-29 02:14:40 +01:00
e2e_room_keys.py add new endpoint to update backup versions 2019-02-06 17:57:10 -05:00
end_to_end_keys.py Fixup slave stores 2019-03-04 18:04:57 +00:00
event_federation.py s/get_forward_events/get_successor_events/ 2019-03-04 11:56:03 +00:00
event_push_actions.py Make starting pushers faster during start up 2019-04-02 16:59:13 +01:00
events_worker.py Collect room-version variations into one place (#4969) 2019-04-01 10:24:38 +01:00
events.py Fix sync bug when accepting invites (#4956) 2019-04-02 12:42:39 +01: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 Fix UPSERTs on SQLite 3.24+ (#4477) 2019-01-28 15:43:32 +00: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 Drop sent_transactions 2018-12-01 23:07:35 -06: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 Transfer local user's push rules on room upgrade (#4838) 2019-03-12 14:42:53 +00:00
pusher.py Use native UPSERTs where possible (#4306) 2019-01-24 21:31:54 +11:00
receipts.py Fix bug where read-receipts lost their timestamps (#4927) 2019-03-25 16:38:05 +00:00
registration.py Move /account/3pid to client_reader 2019-02-27 14:26:08 +00:00
rejections.py run isort 2018-07-09 16:09:20 +10:00
room.py Fix upsert 2019-03-21 10:21:15 +00:00
roommember.py Run black on some storage modules that the stats branch touches (#4959) 2019-03-29 00:37:16 +11:00
search.py Add an option to disable search for homeservers which may not be interested in it (#4230) 2018-12-04 12:01:02 +01: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_deltas.py Refactor out state delta handling into its own class (#4917) 2019-03-25 20:37:08 +11:00
state.py Add configurable room list publishing rules 2019-02-14 16:02:23 +00:00
stream.py Add docstrings from matrix-org-hotfixes 2019-03-06 17:24:26 +00: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 Use the state event amount for userdir import batching, not room count (#4944) 2019-03-27 02:49:28 +11:00
user_erasure_store.py run isort 2018-07-09 16:09:20 +10:00