forked from I2P_Developers/i2p.i2p
* i2psnark:
- Fix bugs in rarest-first tracking - Fix requesting of partial piece when there are multiple seeds - Synch fix in BitField
This commit is contained in:
@@ -18,7 +18,7 @@ class Piece implements Comparable {
|
||||
|
||||
public Piece(int id) {
|
||||
this.id = id;
|
||||
this.peers = new HashSet(I2PSnarkUtil.MAX_CONNECTIONS);
|
||||
this.peers = new HashSet(I2PSnarkUtil.MAX_CONNECTIONS / 2);
|
||||
// defer creating requests to save memory
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user