remove: Portal project (Core Team 不再維護前端)
- 移除 portal/ 目錄 (Vue 3 + Tauri 前端) - 更新 AGENTS.md 移除 Portal 相關說明 - 更新代碼註釋移除 Portal 引用 - 前端開發統一由 Studio Team 負責 參考: docs_v1.0/OPERATIONS/GUI_ARCHITECTURE_REVIEW.md
This commit is contained in:
@@ -881,6 +881,22 @@ async fn get_processor_counts(
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Special handling for face_cluster: query trace_profiles if frame_count is None
|
||||
if proc_name == "face_cluster" && frame_count.is_none() {
|
||||
let tp_table = crate::core::db::schema::table_name("trace_profiles");
|
||||
let trace_count: i64 = sqlx::query_scalar(&format!(
|
||||
"SELECT COUNT(DISTINCT trace_id) FROM {} WHERE file_uuid = $1 AND frame_count > 0",
|
||||
tp_table
|
||||
))
|
||||
.bind(&file_uuid)
|
||||
.fetch_one(state.db.pool())
|
||||
.await
|
||||
.unwrap_or(0);
|
||||
if trace_count > 0 {
|
||||
frame_count = Some(trace_count as u32);
|
||||
}
|
||||
}
|
||||
|
||||
results.push(ProcessorCountInfo {
|
||||
processor: proc_name.to_string(),
|
||||
|
||||
Reference in New Issue
Block a user