* NetDb: Lower min RouterInfo expiration to 2.5h (was 3h)
* i2psnark debug logging tweak
This commit is contained in:
@ -105,8 +105,8 @@ class PeerCheckerTask extends TimerTask
|
|||||||
peer.resetCounters();
|
peer.resetCounters();
|
||||||
|
|
||||||
_util.debug(peer + ":", Snark.DEBUG);
|
_util.debug(peer + ":", Snark.DEBUG);
|
||||||
_util.debug(" ul: " + upload/KILOPERSECOND
|
_util.debug(" ul: " + upload*1024/KILOPERSECOND
|
||||||
+ " dl: " + download/KILOPERSECOND
|
+ " dl: " + download*1024/KILOPERSECOND
|
||||||
+ " i: " + peer.isInterested()
|
+ " i: " + peer.isInterested()
|
||||||
+ " I: " + peer.isInteresting()
|
+ " I: " + peer.isInteresting()
|
||||||
+ " c: " + peer.isChoking()
|
+ " c: " + peer.isChoking()
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
2010-02-03 zzz
|
||||||
|
* Console:
|
||||||
|
- Hide update buttons and update config if install dir is readonly or if configured
|
||||||
|
- Show yellow star if no outbound tunnels
|
||||||
|
* i2psnark: Don't prefer to opportunistically unchoke unchoking peers when not interested
|
||||||
|
* NetDb: Lower min RouterInfo expiration to 2.5h (was 3h)
|
||||||
|
|
||||||
2010-01-31 zzz
|
2010-01-31 zzz
|
||||||
* i2psnark standalone: Fix CSS
|
* i2psnark standalone: Fix CSS
|
||||||
* Jetty: Update to 5.1.15 to get ResourceHandler fix
|
* Jetty: Update to 5.1.15 to get ResourceHandler fix
|
||||||
|
@ -18,7 +18,7 @@ public class RouterVersion {
|
|||||||
/** deprecated */
|
/** deprecated */
|
||||||
public final static String ID = "Monotone";
|
public final static String ID = "Monotone";
|
||||||
public final static String VERSION = CoreVersion.VERSION;
|
public final static String VERSION = CoreVersion.VERSION;
|
||||||
public final static long BUILD = 6;
|
public final static long BUILD = 7;
|
||||||
|
|
||||||
/** for example "-test" */
|
/** for example "-test" */
|
||||||
public final static String EXTRA = "";
|
public final static String EXTRA = "";
|
||||||
|
@ -121,7 +121,7 @@ public class KademliaNetworkDatabaseFacade extends NetworkDatabaseFacade {
|
|||||||
* know anyone or just started up) -- see validate() below
|
* know anyone or just started up) -- see validate() below
|
||||||
*/
|
*/
|
||||||
private final static long ROUTER_INFO_EXPIRATION = 3*24*60*60*1000l;
|
private final static long ROUTER_INFO_EXPIRATION = 3*24*60*60*1000l;
|
||||||
private final static long ROUTER_INFO_EXPIRATION_MIN = 3*60*60*1000l;
|
private final static long ROUTER_INFO_EXPIRATION_MIN = 150*60*1000l;
|
||||||
private final static long ROUTER_INFO_EXPIRATION_SHORT = 90*60*1000l;
|
private final static long ROUTER_INFO_EXPIRATION_SHORT = 90*60*1000l;
|
||||||
private final static long ROUTER_INFO_EXPIRATION_FLOODFILL = 60*60*1000l;
|
private final static long ROUTER_INFO_EXPIRATION_FLOODFILL = 60*60*1000l;
|
||||||
|
|
||||||
|
@ -152,6 +152,7 @@ class PersistentDataStore extends TransientDataStore {
|
|||||||
}
|
}
|
||||||
public String getName() { return "Remove Key"; }
|
public String getName() { return "Remove Key"; }
|
||||||
public void runJob() {
|
public void runJob() {
|
||||||
|
if (_log.shouldLog(Log.INFO))
|
||||||
_log.info("Removing key " + _key /* , getAddedBy() */);
|
_log.info("Removing key " + _key /* , getAddedBy() */);
|
||||||
try {
|
try {
|
||||||
File dbDir = getDbDir();
|
File dbDir = getDbDir();
|
||||||
|
Reference in New Issue
Block a user