diff --git a/src/handle.rs b/src/handle.rs index aaf8e84..6276167 100644 --- a/src/handle.rs +++ b/src/handle.rs @@ -161,8 +161,6 @@ where C: Future + 'static + Send }; let _h_tx = h_tx; - eprintln!("Got file: {:?}", path); - let mut file = match OpenOptions::new() .read(true) .open(&path).await { @@ -172,7 +170,6 @@ where C: Future + 'static + Send return; }, }; - eprintln!("Opened file {:?}",path); let mut hasher = Sha256::new(); let ring_res = uring_read(&mut file, |buffer| { if ret.is_closed() { @@ -186,11 +183,9 @@ where C: Future + 'static + Send async move { match ring_res { Ok(_n) => { - eprintln!("Proc {} bytes from {:?}", _n, path); let _ = ret.send((path, Ok(hasher.into()))).await; }, Err(e) => { - eprintln!("Proc for {:?} failed: {}", path, e); // To prevent DOSing this task, we do not defer the writing of failed results like we used to. If the stream is full, we wait regardless of the result. let _ = ret.send((path, Err(e))).await;