Add log-init-function and websocket retry
This commit is contained in:
parent
6536ff0792
commit
50bcac2a1b
12 changed files with 73 additions and 69 deletions
emgauwa-controller/src
|
@ -9,6 +9,6 @@ pub async fn run_relay_loop(settings: Settings) {
|
|||
loop {
|
||||
let next_timestamp = Local::now().naive_local().time() + default_duration;
|
||||
time::sleep(default_duration).await;
|
||||
println!("Relay loop: {}", next_timestamp)
|
||||
log::debug!("Relay loop: {}", next_timestamp)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue