Changes to be committed:
modified: src/server.rs
This commit is contained in:
parent
58eb0c9b59
commit
b51ec2454b
@ -54,7 +54,7 @@ pub async fn server_mode(server_config: ServerConfiguration) {
|
||||
loop {
|
||||
if now.elapsed() < kps { continue; }
|
||||
now = std::time::Instant::now();
|
||||
let mmp = addrs_lcl.lock().await;
|
||||
let mut mmp = addrs_lcl.lock().await;
|
||||
mmp.values().for_each(|p| {
|
||||
let _ = send2hnd_cl.send((UDPKeepAlive{}.serialize(), p.addr));
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user