FeedLoadManager: Shuffle the order outdated subscriptions are updated in
This commit is contained in:
parent
739b6ae57b
commit
ae60f7d7eb
1 changed files with 2 additions and 1 deletions
|
|
@ -111,7 +111,8 @@ class FeedLoadManager(private val context: Context) {
|
||||||
broadcastProgress()
|
broadcastProgress()
|
||||||
}
|
}
|
||||||
.observeOn(Schedulers.io())
|
.observeOn(Schedulers.io())
|
||||||
.flatMap { Flowable.fromIterable(it) }
|
// Randomize user subscription ordering to attempt to resist fingerprinting
|
||||||
|
.flatMap { Flowable.fromIterable(it.shuffled()) }
|
||||||
.takeWhile { !cancelSignal.get() }
|
.takeWhile { !cancelSignal.get() }
|
||||||
.doOnNext { subscriptionEntity ->
|
.doOnNext { subscriptionEntity ->
|
||||||
// throttle YouTube extractions once every BATCH_SIZE to avoid being rate limited
|
// throttle YouTube extractions once every BATCH_SIZE to avoid being rate limited
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue