control msg tester, fix mqtt router startup

This commit is contained in:
Evan Feenstra
2022-09-07 17:05:31 -07:00
parent 3992dfe6fe
commit 21ed9f97ea
8 changed files with 108 additions and 28 deletions

View File

@@ -48,9 +48,9 @@ async fn main() -> Result<(), Box<dyn Error>> {
break (client, eventloop);
}
}
Err(_) => {
Err(e) => {
try_i = try_i + 1;
println!("reconnect.... {}", try_i);
println!("reconnect.... {} {:?}", try_i, e);
tokio::time::sleep(Duration::from_secs(1)).await;
}
}