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/synchrotron.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/synchrotron.py')
-rw-r--r-- | synapse/app/synchrotron.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/synapse/app/synchrotron.py b/synapse/app/synchrotron.py index 0354e82bf8..9163b56d86 100644 --- a/synapse/app/synchrotron.py +++ b/synapse/app/synchrotron.py @@ -445,12 +445,7 @@ def start(config_options): ) ss.setup() - ss.start_listening(config.worker_listeners) - - def start(): - ss.get_datastore().start_profiling() - - reactor.callWhenRunning(start) + reactor.callWhenRunning(_base.start, ss, config.worker_listeners) _base.start_worker_reactor("synapse-synchrotron", config) |