s
This commit is contained in:
parent
d0422fafeb
commit
fa5e6bbedc
@ -228,7 +228,7 @@ class TorrentService : Service() {
|
||||
|
||||
// 2. 파일 다운로드: 계산된 점수(finalScore)가 낮은 순으로 정렬
|
||||
if (isCharging) {
|
||||
val maxSlots = if (isWifiConnected) 8 else 1
|
||||
val maxSlots = if (isWifiConnected) 3 else 1
|
||||
val sortedByPriority = torrentsWithMetadata.sortedBy { it.second }
|
||||
|
||||
sortedByPriority.forEachIndexed { index, pair ->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user