This commit is contained in:
lunaticbum 2026-04-12 23:43:58 +09:00
parent d0422fafeb
commit fa5e6bbedc
2 changed files with 2 additions and 2 deletions

View File

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