* Reachability:
- Restrict peers requiring introducers from inbound tunnels, since it's slow and unreliable... and many of them advertise NTCP, which seems unlikely to work - Provide warning on summary bar if firewalled with inbound NTCP enabled * Stats: Remove the bw.[send,recv]Bps[1,15]s stats unless log level net.i2p.router.transport.FIFOBandwidthLimiter >= WARN at startup (you didn't get any data unless you set the log level anyway) * oldstats.jsp: Don't put 2 decimal places on integer event counts * Remove the Internals link from the menu bar * i2psnark: Extend startup delay from 1 to 3 minutes
This commit is contained in:
@ -84,7 +84,7 @@ public class SnarkManager implements Snark.CompleteListener {
|
||||
public boolean shouldUseOpenTrackers() {
|
||||
return Boolean.valueOf(_config.getProperty(PROP_USE_OPENTRACKERS, DEFAULT_USE_OPENTRACKERS)).booleanValue();
|
||||
}
|
||||
private int getStartupDelayMinutes() { return 1; }
|
||||
private int getStartupDelayMinutes() { return 3; }
|
||||
public File getDataDir() {
|
||||
String dir = _config.getProperty(PROP_DIR);
|
||||
if ( (dir == null) || (dir.trim().length() <= 0) )
|
||||
@ -508,7 +508,7 @@ public class SnarkManager implements Snark.CompleteListener {
|
||||
} else if (info.getPieces() <= 0) {
|
||||
return "No pieces in " + info.getName() + "? deleting it";
|
||||
} else if (info.getPieceLength(0) > 1*1024*1024) {
|
||||
return "Pieces are too large in " + info.getName() + " (" + info.getPieceLength(0)/1024 + "KB, deleting it";
|
||||
return "Pieces are too large in " + info.getName() + " (" + info.getPieceLength(0)/1024 + "KB), deleting it";
|
||||
} else if (info.getTotalLength() > 10*1024*1024*1024l) {
|
||||
System.out.println("torrent info: " + info.toString());
|
||||
List lengths = info.getLengths();
|
||||
|
Reference in New Issue
Block a user