Revert "perf: improve config processing (#6091)"

This reverts commit bf189bb144.
This commit is contained in:
Tunglies
2026-01-26 23:36:57 +08:00
parent 88529af8c8
commit 511fab9a9d
4 changed files with 271 additions and 247 deletions
+1 -1
View File
@@ -117,7 +117,7 @@ pub async fn import_profile(url: std::string::String, option: Option<PrfOption>)
pub async fn reorder_profile(active_id: String, over_id: String) -> CmdResult {
match profiles_reorder_safe(&active_id, &over_id).await {
Ok(_) => {
logging!(debug, Type::Cmd, "重新排序配置文件");
logging!(info, Type::Cmd, "重新排序配置文件");
Config::profiles().await.apply();
Ok(())
}