sync service check exec fixed

pull/9/head
prplV 2024-09-25 15:21:11 +03:00
parent 3d73dba912
commit 03dd2c36c6
2 changed files with 4 additions and 4 deletions

View File

@ -11,7 +11,7 @@
"src": "/home/vladislav/web/",
"triggers": {
"onDelete": "stop",
"onChange": "restart"
"onChange": "stop"
}
},
{
@ -46,7 +46,7 @@
"src": "/home/vladislav/web/",
"triggers": {
"onDelete": "hold",
"onChange": "stay"
"onChange": "stop"
}
}
],

View File

@ -72,7 +72,7 @@ async fn looped_service_connecting(name: &str, serv: &Services) -> Result<(), Cu
break;
}
Err(_) => {
continue;
tokio::task::yield_now().await;
}
}
}
@ -95,7 +95,7 @@ async fn looped_service_connecting(name: &str, serv: &Services) -> Result<(), Cu
return Ok(());
}
Err(_) => {
continue;
tokio::task::yield_now().await;
}
}
}