diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2020-03-19 10:48:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-19 09:48:45 +0000 |
commit | 443162e57724c34099215732eda690ea25cb1e4c (patch) | |
tree | 49407854e702ec4feb98d7c1e7ecc202e0e4a3c9 /synapse/app/_base.py | |
parent | Improve get auth chain difference algorithm. (#7095) (diff) | |
download | synapse-443162e57724c34099215732eda690ea25cb1e4c.tar.xz |
Move pusherpool startup into _base.setup (#7104)
This should be safe to do on all workers/masters because it is guarded by a config option which will ensure it is only actually done on the worker assigned as a pusher.
Diffstat (limited to 'synapse/app/_base.py')
-rw-r--r-- | synapse/app/_base.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/app/_base.py b/synapse/app/_base.py index 9ffd23c6df..4d84f4595a 100644 --- a/synapse/app/_base.py +++ b/synapse/app/_base.py @@ -276,6 +276,7 @@ def start(hs, listeners=None): # It is now safe to start your Synapse. hs.start_listening(listeners) hs.get_datastore().db.start_profiling() + hs.get_pusherpool().start() setup_sentry(hs) setup_sdnotify(hs) |