Ejemplo n.º 1
0
def start_all_auto():
    #config.load()
    for module in config.config["modules"]:
        if module == "launcher":
            continue
        if "auto_start" in config.config['modules'][module] and config.config['modules'][module]["auto_start"]:
            start(module)
            web_control.confirm_module_ready(config.get(["modules", module, "control_port"], 0))
Ejemplo n.º 2
0
def start_all_auto():
    #config.load()
    for module in config.config["modules"]:
        if module == "launcher":
            continue
        if "auto_start" in config.config['modules'][module] and config.config[
                'modules'][module]["auto_start"]:
            start(module)
            web_control.confirm_module_ready(
                config.get(["modules", module, "control_port"], 0))
Ejemplo n.º 3
0
def start_all_auto():
    #config.load()
    for module in config.config["modules"]:
        if module == "launcher":
            continue
        if "auto_start" in config.config['modules'][module] and config.config['modules'][module]["auto_start"]:
            start_time = time.time()
            start(module)
            web_control.confirm_module_ready(config.get(["modules", module, "control_port"], 0))
            finished_time = time.time()
            logging.info("start %s time cost %d", module, (finished_time - start_time) * 1000)
Ejemplo n.º 4
0
def start_all_auto():
    #config.load()
    for module in config.config["modules"]:
        if module == "launcher":
            continue
        if "auto_start" in config.config['modules'][module] and config.config[
                'modules'][module]["auto_start"]:
            start_time = time.time()
            start(module)
            web_control.confirm_module_ready(
                config.get(["modules", module, "control_port"], 0))
            finished_time = time.time()
            logging.info("start %s time cost %d", module,
                         (finished_time - start_time) * 1000)