debug connections

This commit is contained in:
Ferdinand Schober
2024-09-16 21:33:25 +02:00
parent 9593b97fbe
commit 3e62739f7e
2 changed files with 6 additions and 1 deletions

View File

@@ -60,7 +60,7 @@ impl Emulation {
_ = interval.tick() => {
last_response.retain(|addr,instant| {
if instant.elapsed() > Duration::from_secs(5) {
log::warn!("{addr} is not responding, releasing keys!");
log::warn!("releasing keys: {addr} not responding!");
emulation_proxy.release_keys(*addr);
false
} else {