Skip to content

Commit 97b6f39

Browse files
committed
fix remaining incorrect merge
Signed-off-by: technillogue <[email protected]>
1 parent 2f1aca7 commit 97b6f39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

storage/src/cache/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ pub trait BlobCache: Send + Sync {
333333

334334
let duration = Instant::now().duration_since(start).as_millis();
335335
let duration_s = duration as f64 / 1000.0;
336-
let throughput_mbps = blob_size as f64 / duration_s / 1_000_000.0;
336+
let throughput_mbps = chunk.compressed_size() as f64 / duration_s / 1_000_000.0;
337337
debug!(
338338
"read_chunk_from_backend: {} {} bytes at {}, duration {}ms, throughput {:.4}Mbps",
339339
std::thread::current().name().unwrap_or_default(),

0 commit comments

Comments
 (0)