asonix/use-bytes-stream #52

Merged
asonix merged 12 commits from asonix/use-bytes-stream into main 2024-02-23 01:36:10 +00:00
Showing only changes of commit f3e455a1c3 - Show all commits

View file

@ -225,7 +225,7 @@ impl Store for ObjectStore {
where
Reader: AsyncRead + Unpin + 'static,
{
self.save_stream(ReaderStream::new(reader), content_type)
self.save_stream(ReaderStream::with_capacity(reader, 1024 * 16), content_type)
.await
}