Merge branch 'main' into arpad/less_async_trait

This commit is contained in:
Arpad Müller
2024-04-04 16:30:09 +02:00
committed by GitHub
6 changed files with 41 additions and 20 deletions

View File

@@ -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,