diff --git a/broker/src/mqtt.rs b/broker/src/mqtt.rs index a0ebc2d..f16c425 100644 --- a/broker/src/mqtt.rs +++ b/broker/src/mqtt.rs @@ -218,7 +218,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(9); + let dur = Duration::from_secs(4); if let Ok((cid, topic_end, reply)) = msg_rx.recv_timeout(dur) { if &cid == client_id { return Some(ChannelReply::new(topic_end, reply));