mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2026-02-12 05:00:15 +00:00
FeedLoadManager: Shuffle the order outdated subscriptions are updated in
This commit is contained in:
@@ -111,7 +111,8 @@ class FeedLoadManager(private val context: Context) {
|
||||
broadcastProgress()
|
||||
}
|
||||
.observeOn(Schedulers.io())
|
||||
.flatMap { Flowable.fromIterable(it) }
|
||||
// Randomize user subscription ordering to attempt to resist fingerprinting
|
||||
.flatMap { Flowable.fromIterable(it.shuffled()) }
|
||||
.takeWhile { !cancelSignal.get() }
|
||||
.doOnNext { subscriptionEntity ->
|
||||
// throttle YouTube extractions once every BATCH_SIZE to avoid being rate limited
|
||||
|
||||
Reference in New Issue
Block a user