diff options
author | Erik Johnston <erik@matrix.org> | 2019-04-02 16:45:33 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-04-02 16:59:13 +0100 |
commit | 5bec8d660d4b7d940336048c2ce937225840b5f4 (patch) | |
tree | ab7d1c156e0995658ac0e52e0078337638c87094 /setup.py | |
parent | Fix sync bug when accepting invites (#4956) (diff) | |
download | synapse-5bec8d660d4b7d940336048c2ce937225840b5f4.tar.xz |
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.
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions