mirror of
https://github.com/stakwork/sphinx-key.git
synced 2025-12-17 07:14:23 +01:00
broker: switch pub_timeout from 9 to 4 secs
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user