forked-synapse/synapse
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
..
_scripts Fix flake8 (#4519) 2019-01-30 10:53:17 +00:00
api Collect room-version variations into one place (#4969) 2019-04-01 10:24:38 +01:00
app Combine the CurrentStateDeltaStream into the EventStream 2019-03-27 22:07:05 +00:00
appservice Run the AS senders as background processes (#4189) 2018-12-04 10:53:49 +01:00
config Use yaml safe_load 2019-03-22 10:20:17 +00:00
crypto Correctly log expected errors when fetching server keys 2019-03-11 14:11:10 +00:00
events Collect room-version variations into one place (#4969) 2019-04-01 10:24:38 +01:00
federation Collect room-version variations into one place (#4969) 2019-04-01 10:24:38 +01:00
groups Merge branch 'develop' of github.com:matrix-org/synapse into anoa/public_rooms_federate_develop 2019-02-26 14:23:40 +00:00
handlers Collect room-version variations into one place (#4969) 2019-04-01 10:24:38 +01:00
http Make federation endpoints more tolerant of trailing slashes v2 (#4935) 2019-03-26 11:35:29 +00:00
metrics Add metrics for number of outgoing EDUs, by type (#4695) 2019-02-20 14:13:14 +00:00
module_api Allow password providers to bind emails (#4947) 2019-03-28 15:48:07 +00:00
push Make starting pushers faster during start up 2019-04-02 16:59:13 +01:00
replication Fix sync bug when accepting invites (#4956) 2019-04-02 12:42:39 +01:00
res/templates Use static locations for Riot icons 2019-03-01 15:06:21 -07:00
rest Collect room-version variations into one place (#4969) 2019-04-01 10:24:38 +01:00
server_notices Merge branch 'develop' of github.com:matrix-org/synapse into erikj/admin_contact 2018-08-24 17:00:37 +01:00
state Collect room-version variations into one place (#4969) 2019-04-01 10:24:38 +01:00
static switch from google.com to recaptcha.net for reCAPTCHA (#4731) 2019-02-25 11:15:36 -08:00
storage Make starting pushers faster during start up 2019-04-02 16:59:13 +01:00
streams Fix develop because I broke it :( (#3535) 2018-07-14 09:51:00 +10:00
util Add a caching layer to .well-known responses (#4516) 2019-01-30 10:55:25 +00:00
__init__.py 0.99.3 2019-04-01 12:49:03 +00:00
event_auth.py Collect room-version variations into one place (#4969) 2019-04-01 10:24:38 +01:00
notifier.py Remove redundant PreserveLoggingContext 2019-03-04 18:31:18 +00:00
python_dependencies.py Merge pull request #4632 from matrix-org/erikj/basic_sentry 2019-02-18 17:22:45 +00:00
secrets.py Port over enough to get some sytests running on Python 3 (#3668) 2018-08-20 23:54:49 +10:00
server.py Merge pull request #4855 from matrix-org/rav/refactor_transaction_queue 2019-03-15 12:32:11 +00:00
server.pyi Rename and move the classes 2019-03-13 20:02:56 +00:00
types.py declare a ReadReceipt class 2019-03-13 17:20:55 +00:00
visibility.py Implement soft fail 2019-03-06 16:22:16 +00:00