This commit is contained in:
lunaticbum 2026-04-01 11:12:06 +09:00
parent 92d228d2e0
commit 9526104a4a

View File

@ -165,7 +165,7 @@ class TorrentService : Service() {
// 2. 파일 다운로드: 계산된 점수(finalScore)가 낮은 순으로 정렬
if (isCharging) {
val maxSlots = if (isWifiConnected) 7 else 2
val maxSlots = if (isWifiConnected) 5 else 1
val sortedByPriority = torrentsWithMetadata.sortedBy { it.second }
sortedByPriority.forEachIndexed { index, pair ->