def start_generic_services(): start_service("LogService") start_service("ResourceService") start_service("Checker") start_service("Worker") start_server("AdminWebServer") start_ranking_web_server()
def start_generic_services(): start_service("LogService") start_service("ResourceService") start_service("Checker") start_service("Worker") start_server("AdminWebServer") # Just to verify it starts successfully. start_ranking_web_server()
def start_generic_services(workers=1): start_service("LogService") start_service("ResourceService") start_service("Checker") for shard in xrange(workers): start_service("Worker", shard) start_service("ScoringService") start_server("AdminWebServer") # Just to verify it starts successfully. start_ranking_web_server()