mirror of
https://github.com/accelforce/Yuito
synced 2025-01-13 16:15:29 +01:00
Fix large media uploading (#1800)
This commit is contained in:
parent
0926cbeda6
commit
e6b7d2ff9c
@ -77,8 +77,7 @@ class MediaUploaderImpl(
|
||||
.fromCallable {
|
||||
if (shouldResizeMedia(media)) {
|
||||
downsize(media)
|
||||
}
|
||||
media
|
||||
} else media
|
||||
}
|
||||
.switchMap { upload(it) }
|
||||
.subscribeOn(Schedulers.io())
|
||||
|
Loading…
Reference in New Issue
Block a user