summary refs log tree commit diff
path: root/synapse/app/pusher.py
diff options
context:
space:
mode:
authorAmber Brown <hawkowl@atleastfornow.net>2019-02-08 17:25:57 +0000
committerGitHub <noreply@github.com>2019-02-08 17:25:57 +0000
commit9cd33d2f4bc14a165f693e2d3dfe231179e968e8 (patch)
treebf72a066e4158ce6dd893b3a2f969a2d6dfb6be6 /synapse/app/pusher.py
parentMerge branch 'master' into develop (diff)
downloadsynapse-9cd33d2f4bc14a165f693e2d3dfe231179e968e8.tar.xz
Deduplicate some code in synapse.app (#4567)
Diffstat (limited to 'synapse/app/pusher.py')
-rw-r--r--synapse/app/pusher.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/app/pusher.py b/synapse/app/pusher.py
index 83b0863f00..cbf0d67f51 100644
--- a/synapse/app/pusher.py
+++ b/synapse/app/pusher.py
@@ -224,11 +224,10 @@ def start(config_options):
     )
 
     ps.setup()
-    ps.start_listening(config.worker_listeners)
 
     def start():
+        _base.start(ps, config.worker_listeners)
         ps.get_pusherpool().start()
-        ps.get_datastore().start_profiling()
 
     reactor.callWhenRunning(start)