diff --git a/synapse/app/homeserver.py b/synapse/app/homeserver.py index 0987a76cfc..5c6812f473 100755 --- a/synapse/app/homeserver.py +++ b/synapse/app/homeserver.py @@ -442,15 +442,11 @@ def setup(config_options): hs.start_listening() + hs.get_pusherpool().start() hs.get_state_handler().start_caching() hs.get_datastore().start_profiling() hs.get_replication_layer().start_get_pdu_cache() - def on_start(): - hs.get_pusherpool().start() - - reactor.callWhenRunning(on_start) - return hs