diff options
author | Amber Brown <hawkowl@atleastfornow.net> | 2019-02-08 17:25:57 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-08 17:25:57 +0000 |
commit | 9cd33d2f4bc14a165f693e2d3dfe231179e968e8 (patch) | |
tree | bf72a066e4158ce6dd893b3a2f969a2d6dfb6be6 /synapse/app/appservice.py | |
parent | Merge branch 'master' into develop (diff) | |
download | synapse-9cd33d2f4bc14a165f693e2d3dfe231179e968e8.tar.xz |
Deduplicate some code in synapse.app (#4567)
Diffstat (limited to 'synapse/app/appservice.py')
-rw-r--r-- | synapse/app/appservice.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/synapse/app/appservice.py b/synapse/app/appservice.py index 8559e141af..33107f56d1 100644 --- a/synapse/app/appservice.py +++ b/synapse/app/appservice.py @@ -168,12 +168,7 @@ def start(config_options): ) ps.setup() - ps.start_listening(config.worker_listeners) - - def start(): - ps.get_datastore().start_profiling() - - reactor.callWhenRunning(start) + reactor.callWhenRunning(_base.start, ps, config.worker_listeners) _base.start_worker_reactor("synapse-appservice", config) |