分片数优化

This commit is contained in:
lushunming 2025-07-15 15:54:52 +08:00
parent 17b714cfe7
commit 605a501496
5 changed files with 5 additions and 5 deletions

View File

@ -155,9 +155,9 @@ object DownloadMT {
fun generatePart(rangeObj: Map<String?, String>, total: String): List<LongArray> {
val totalSize = total.toLong()
//超过10GB分块是80Mb不然是16MB
//超过10GB分块是32Mb不然是16MB
val partSize =
if (totalSize > 8L * 1024L * 1024L * 1024L * 10L) 1024 * 1024 * 8 * 10L else 1024 * 1024 * 8 * 2L
if (totalSize > 1024L * 1024L * 1024L * 10L) 1024 * 1024 * 8 * 4L else 1024 * 1024 * 8 * 2L
var start = rangeObj["start"]!!.toLong()
var end =

Binary file not shown.

View File

@ -1 +1 @@
80eb82a9d6f6bc12bb62bff91dc94393
153fe041f1a364fef8f53545dd52588a

View File

@ -1,5 +1,5 @@
{
"spider": "https://andoridspidermt.netlify.app/jar/custom_spider.jar;md5;80eb82a9d6f6bc12bb62bff91dc94393",
"spider": "https://andoridspidermt.netlify.app/jar/custom_spider.jar;md5;153fe041f1a364fef8f53545dd52588a",
"lives": [
{
"name": "电视直播",

View File

@ -1,5 +1,5 @@
{
"spider": "https://ghproxy.net/https://raw.githubusercontent.com/lushunming/AndroidCatVodSpider/multiThreadkt/jar/custom_spider.jar;md5;80eb82a9d6f6bc12bb62bff91dc94393",
"spider": "https://ghproxy.net/https://raw.githubusercontent.com/lushunming/AndroidCatVodSpider/multiThreadkt/jar/custom_spider.jar;md5;153fe041f1a364fef8f53545dd52588a",
"lives": [
{
"name": "电视直播",