Shuffle tracker tiers after adding trackers

This commit is contained in:
Matt Joiner 2014-11-21 00:32:27 -06:00
parent e5588b620f
commit 4725a70875
1 changed files with 1 additions and 0 deletions

View File

@ -1308,6 +1308,7 @@ func (t *torrent) addTrackers(announceList [][]string) {
} else { } else {
newTrackers = append(newTrackers, mergeTier(nil, tier)) newTrackers = append(newTrackers, mergeTier(nil, tier))
} }
shuffleTier(newTrackers[tierIndex])
} }
t.Trackers = newTrackers t.Trackers = newTrackers
} }