Rename LLMP Timeout message, increase timeout (#1048)

* rename

* Update llmp.rs

* Print every 30 seconds only

---------

Co-authored-by: Dominik Maier <dmnk@google.com>
This commit is contained in:
Dongjia "toka" Zhang 2023-02-07 00:42:14 +09:00 committed by GitHub
parent 4e15be182e
commit 30e296968b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -189,11 +189,11 @@ where
Ok(llmp::LlmpMsgHookResult::ForwardToClients)
}
} else {
monitor.display("Timeout".into(), 0);
monitor.display("Broker".into(), 0);
Ok(llmp::LlmpMsgHookResult::Handled)
}
},
Duration::from_millis(1000),
Duration::from_secs(30),
Some(Duration::from_millis(5)),
);