refactor: get_running_info fn replace status polling with direct calls (#1441)

This commit is contained in:
Mg Pig
2025-10-04 21:43:34 +08:00
committed by GitHub
parent 5e48626cb9
commit 4d5330fa0a
13 changed files with 181 additions and 118 deletions
+2 -1
View File
@@ -76,7 +76,8 @@ impl WebClientService for InstanceManageRpcService {
let mut ret = NetworkInstanceRunningInfoMap {
map: self
.manager
.collect_network_infos()?
.collect_network_infos()
.await?
.into_iter()
.map(|(k, v)| (k.to_string(), v))
.collect(),