Revert previous

This commit is contained in:
Erik Johnston 2015-04-29 18:37:30 +01:00
parent c27d6ad6b5
commit e7a6edb0ee

View File

@ -442,15 +442,11 @@ def setup(config_options):
hs.start_listening() hs.start_listening()
hs.get_pusherpool().start()
hs.get_state_handler().start_caching() hs.get_state_handler().start_caching()
hs.get_datastore().start_profiling() hs.get_datastore().start_profiling()
hs.get_replication_layer().start_get_pdu_cache() hs.get_replication_layer().start_get_pdu_cache()
def on_start():
hs.get_pusherpool().start()
reactor.callWhenRunning(on_start)
return hs return hs