mirror of
https://github.com/stakwork/sphinx-key.git
synced 2025-12-17 07:14:23 +01:00
broker: increase mqtt timeout from 4s to 10s
This commit is contained in:
@@ -188,7 +188,7 @@ fn pub_timeout(
|
||||
log::error!("failed to pub to link_tx! {:?}", e);
|
||||
}
|
||||
// and receive from the correct client (or timeout to next)
|
||||
let dur = Duration::from_secs(4);
|
||||
let dur = Duration::from_secs(10);
|
||||
if let Ok((cid, topic_end, reply)) = msg_rx.recv_timeout(dur) {
|
||||
if &cid == client_id {
|
||||
return Some(ChannelReply::new(topic_end, reply));
|
||||
|
||||
Reference in New Issue
Block a user