change wait timeout for cm ipc
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
7caafd563e
commit
717202fdee
@ -2040,7 +2040,7 @@ async fn start_ipc(
|
|||||||
.unwrap()
|
.unwrap()
|
||||||
.push(crate::run_me(args)?);
|
.push(crate::run_me(args)?);
|
||||||
}
|
}
|
||||||
for _ in 0..10 {
|
for _ in 0..20 {
|
||||||
sleep(0.3).await;
|
sleep(0.3).await;
|
||||||
if let Ok(s) = crate::ipc::connect(1000, "_cm").await {
|
if let Ok(s) = crate::ipc::connect(1000, "_cm").await {
|
||||||
stream = Some(s);
|
stream = Some(s);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user