fix: adapt cli runtime branch after rebase

This commit is contained in:
Illuminated2020
2026-05-12 17:04:18 +08:00
parent dd3894df68
commit ef83cedfb4
7 changed files with 57 additions and 43 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ pub async fn snapshot(
schema_name: Option<&str>,
) -> Result<SchemaSnapshot, String> {
let config = {
let configs = state.configs.lock().await;
let configs = state.configs.read().await;
configs.get(connection_id).cloned().ok_or("Connection config not found")?
};