Fix comment

This commit is contained in:
Matt Joiner 2015-01-11 00:17:25 +11:00
parent bcebf569b8
commit 8e7e551d76
1 changed files with 2 additions and 2 deletions

View File

@ -94,8 +94,8 @@ func (cn *connection) pendPiece(piece int, priority piecePriority) {
return
}
key := cn.piecePriorities[piece]
// TODO: Have some kind of overlap here, so there's some probabilistic
// favouring of higher priority pieces.
// There is overlap here so there's some probabilistic favouring of higher
// priority pieces.
switch priority {
case piecePriorityReadahead:
key -= len(cn.piecePriorities) / 3