Fix large media uploading (#1800)
This commit is contained in:
parent
e5ab9292ef
commit
f69e837cb3
@ -78,8 +78,7 @@ class MediaUploaderImpl(
|
||||
.fromCallable {
|
||||
if (shouldResizeMedia(media, imageLimit)) {
|
||||
downsize(media, imageLimit)
|
||||
}
|
||||
media
|
||||
} else media
|
||||
}
|
||||
.switchMap { upload(it, videoLimit, imageLimit) }
|
||||
.subscribeOn(Schedulers.io())
|
||||
|
Loading…
Reference in New Issue
Block a user