Skip to content

Commit

Permalink
decrease closed-channel log severity (awslabs#443)
Browse files Browse the repository at this point in the history
* decrease closed-channel log severity

Signed-off-by: Josh Chorlton <[email protected]>

* switch to trace

Signed-off-by: Josh Chorlton <[email protected]>

---------

Signed-off-by: Josh Chorlton <[email protected]>
  • Loading branch information
jchorl authored Aug 10, 2023
1 parent 16a9857 commit 243c4df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mountpoint-s3/src/prefetch/part_queue.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use std::time::Instant;

use tracing::warn;
use tracing::trace;

use crate::prefetch::part::Part;
use crate::prefetch::PrefetchReadError;
Expand Down Expand Up @@ -92,7 +92,7 @@ impl<E: std::error::Error + Send + Sync> PartQueueProducer<E> {
// Unbounded channel will never actually block
let send_result = self.sender.send_blocking(part);
if send_result.is_err() {
warn!("closed channel");
trace!("closed channel");
}
}
}
Expand Down

0 comments on commit 243c4df

Please sign in to comment.