fix: 去掉异步执行,添加可配置项

This commit is contained in:
BladeHiker
2023-07-07 22:31:17 +08:00
parent 64a74d60af
commit 73b88f6e43
4 changed files with 18 additions and 9 deletions

View File

@@ -53,6 +53,8 @@ bool asst::GeneralConfig::parse(const json::value& json)
}
m_options.depot_export_template.ark_planner =
options_json.get("depotExportTemplate", "arkPlanner", std::string());
m_options.debug.clean_files_freq = options_json.get("debug", "cleanFilesFreq", 100);
m_options.debug.max_debug_file_num = options_json.get("debug", "maxDebugFileNum", 1000);
}
for (const auto& [client_type, intent_name] : json.at("intent").as_object()) {