fix of lc_result ending firstly

feature/configv2
prplV 2025-02-06 14:39:32 +03:00
parent 6adab1b903
commit e4c3e5f46f
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,5 @@
{ {
"dateOfCreation": "1721381809107", "dateOfCreation": "1721381809109",
"configServer": "localhost", "configServer": "localhost",
"processes": [ "processes": [
{ {

View File

@ -89,6 +89,7 @@ pub mod v2 {
if res.is_ok() { if res.is_ok() {
info!("Local config warding mechanism stopped, waiting for others ..."); info!("Local config warding mechanism stopped, waiting for others ...");
sleep(Duration::from_millis(500)).await; sleep(Duration::from_millis(500)).await;
let _ = restart_main_thread();
} }
else { else {
error!("Local config warding mechanism crushed, restarting ..."); error!("Local config warding mechanism crushed, restarting ...");