Skip to content
Snippets Groups Projects
Forked from Maunium / synapse
Source project has a limited visibility.
  • Erik Johnston's avatar
    5bec8d66
    Make starting pushers faster during start up · 5bec8d66
    Erik Johnston authored
    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.
    5bec8d66
    History
    Make starting pushers faster during start up
    Erik Johnston authored
    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.