Reduce log for test

This commit is contained in:
Dominik Werder
2022-09-24 12:31:04 +02:00
parent 7a0b234573
commit 997f12137d
2 changed files with 5 additions and 2 deletions

View File

@@ -514,7 +514,7 @@ impl CaConnSet {
}
};
}
err::todoval()
Ok(())
}
pub async fn add_channel_to_addr(
@@ -526,6 +526,7 @@ impl CaConnSet {
let g = self.ca_conn_ress.lock().await;
match g.get(&addr) {
Some(ca_conn) => {
//info!("try to add to existing... {addr} {channel_name}");
let (cmd, rx) = ConnCommand::channel_add(channel_name);
ca_conn.sender.send(cmd).await.err_conv()?;
let a = rx.recv().await.err_conv()?;
@@ -536,6 +537,8 @@ impl CaConnSet {
}
}
None => {
//info!("create new {addr} {channel_name}");
drop(g);
let addr = if let SocketAddr::V4(x) = addr {
x
} else {

View File

@@ -394,7 +394,7 @@ impl CaConn {
array_truncate,
stats: Arc::new(CaConnStats::new()),
insert_queue_max,
insert_ivl_min_mus: 1000 * 1000 * 6,
insert_ivl_min_mus: 1000 * 6,
ts_channel_alive_check_last: Instant::now(),
conn_command_tx: cq_tx,
conn_command_rx: cq_rx,