Reduce output

This commit is contained in:
Dominik Werder
2021-10-22 21:35:35 +02:00
parent 4d7ec67010
commit ade01fb3e2
3 changed files with 48 additions and 19 deletions

View File

@@ -32,7 +32,9 @@ async fn datablock_stream(
Err(e) => match tx.send(Err(e)).await {
Ok(_) => {}
Err(e) => {
error!("can not forward error: {:?}", e);
if false {
error!("can not send. error: {}", e);
}
}
},
}
@@ -55,6 +57,7 @@ async fn datablock_stream_inner(
"search for {:?} with basename: {} in path {:?}",
channel, basename, base
);
// TODO need to try both:
let index_path = base.join(format!("archive_{}_SH", basename)).join("index");
let res = open_read(index_path.clone()).await;
debug!("tried to open index file: {:?}", res);