mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-03-29 08:00:55 +03:00
debug connections
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user