change wait timeout for cm ipc

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou 2023-03-13 14:22:04 +08:00
parent 7caafd563e
commit 717202fdee

View File

@ -2040,7 +2040,7 @@ async fn start_ipc(
.unwrap()
.push(crate::run_me(args)?);
}
for _ in 0..10 {
for _ in 0..20 {
sleep(0.3).await;
if let Ok(s) = crate::ipc::connect(1000, "_cm").await {
stream = Some(s);