Skip to content

Commit 07eb997

Browse files
authored
Increased DOWNLOAD_PARTIAL_MIN_SIZE to 50MB
1 parent a23c136 commit 07eb997

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/src/main/java/com/lagradost/cloudstream3/utils/downloader/DownloadManager.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,8 @@ object VideoDownloadManager {
187187
private val DOWNLOAD_PARTIAL_SUCCESS =
188188
DownloadStatus(retrySame = true, tryNext = false, success = true)
189189

190-
/** 10MB minimum size */
191-
const val DOWNLOAD_PARTIAL_MIN_SIZE = 1_048_576L * 10L
190+
/** 50MB minimum size */
191+
const val DOWNLOAD_PARTIAL_MIN_SIZE = 1_048_576L * 50L
192192

193193
/** bad config, skip all mirrors as every call to download will have the same bad config */
194194
private val DOWNLOAD_BAD_CONFIG =

0 commit comments

Comments
 (0)