Fix large media uploading

This commit is contained in:
kyori19 2020-05-21 14:29:04 +09:00
parent dd6f8b1739
commit d9a2690231
1 changed files with 1 additions and 2 deletions

View File

@ -77,8 +77,7 @@ class MediaUploaderImpl(
.fromCallable {
if (shouldResizeMedia(media)) {
downsize(media)
}
media
} else media
}
.switchMap { upload(it) }
.subscribeOn(Schedulers.io())