* i2psnark: Don't prefer to opportunistically unchoke unchoking peers when not interested
This commit is contained in:
@ -416,7 +416,7 @@ public class PeerCoordinator implements PeerListener
|
||||
count++;
|
||||
if (uploaders < maxUploaders)
|
||||
{
|
||||
if (!peer.isChoked())
|
||||
if (peer.isInteresting() && !peer.isChoked())
|
||||
interested.add(unchokedCount++, peer);
|
||||
else
|
||||
interested.add(peer);
|
||||
|
Reference in New Issue
Block a user