def _async_init(): SysConfig.new(mongo_meta=mongo_conf.global_mongo_meta, debug_mode=options.debug_mode) yield SysConfig.current().open() webapp.settings["gid_rpc"] = GIDRPC(SysConfig.current().get( sys_config.SC_GID_RPC_URL)) webapp.settings["msg_rpc"] = MsgRPC(SysConfig.current().get( sys_config.SC_MSG_RPC_URL)) webapp.settings["terminal_rpc"] = TerminalRPC(SysConfig.current().get( sys_config.SC_TERMINAL_RPC_URL))
def _async_init(): SysConfig.new(sys_config.DEFAULT_CATEGORY, mongo_meta=mongo_conf.global_mongo_meta, debug_mode=debug) yield SysConfig.current().open()
def _async_init(): SysConfig.new(sys_config.DEFAULT_CATEGORY, mongo_client, thread_pool) yield SysConfig.current().open()
def _async_init(): SysConfig.new(mongo_meta=mongo_conf.global_mongo_meta, debug_mode=options.debug_mode) yield SysConfig.current().open()
def _async_init(): SysConfig.new(sys_config.DEFAULT_CATEGORY, mongo_client, thread_pool) yield SysConfig.current().open() webapp.settings["gid_rpc"] = GIDRPC(SysConfig.current().get( sys_config.SC_GID_RPC_URL))