mirror of
https://git.asonix.dog/asonix/pict-rs
synced 2024-11-20 11:21:14 +00:00
Increase buffer size for AsyncRead -> Stream conversion
This commit is contained in:
parent
00a08a8bc9
commit
f3e455a1c3
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue