Fix large media uploading
This commit is contained in:
parent
dd6f8b1739
commit
d9a2690231
|
@ -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