mirror of
https://git.asonix.dog/asonix/pict-rs
synced 2024-12-22 11:21:24 +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
|
where
|
||||||
Reader: AsyncRead + Unpin + 'static,
|
Reader: AsyncRead + Unpin + 'static,
|
||||||
{
|
{
|
||||||
self.save_stream(ReaderStream::new(reader), content_type)
|
self.save_stream(ReaderStream::with_capacity(reader, 1024 * 16), content_type)
|
||||||
.await
|
.await
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue