mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-26 09:30:37 +00:00
Fix length (#7308)
## Problem Bug ## Summary of changes Use `compressed_data.len()` instead of `data.len()`.
This commit is contained in:
@@ -461,7 +461,7 @@ async fn upload_events_chunk(
|
||||
|| async {
|
||||
let stream = futures::stream::once(futures::future::ready(Ok(compressed_data.clone())));
|
||||
storage
|
||||
.upload(stream, data.len(), remote_path, None, cancel)
|
||||
.upload(stream, compressed_data.len(), remote_path, None, cancel)
|
||||
.await
|
||||
},
|
||||
TimeoutOrCancel::caused_by_cancel,
|
||||
|
||||
Reference in New Issue
Block a user