I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 484b528d authored by jrandom's avatar jrandom Committed by zzz
Browse files

* 2004-12-21 0.4.2.5 released

2004-12-21  jrandom
    * Track a new stat for expired client leases (client.leaseSetExpired).
parent 758293dc
No related branches found
No related tags found
No related merge requests found
$Id: history.txt,v 1.116 2004/12/20 00:14:56 jrandom Exp $
$Id: history.txt,v 1.117 2004/12/21 11:32:50 jrandom Exp $
* 2004-12-21 0.4.2.5 released
2004-12-21 jrandom
* Track a new stat for expired client leases (client.leaseSetExpired).
2004-12-21 jrandom
* Cleaned up the postinstall/startup scripts a bit more to handle winME,
......
......@@ -4,7 +4,7 @@
<info>
<appname>i2p</appname>
<appversion>0.4.2.4</appversion>
<appversion>0.4.2.5</appversion>
<authors>
<author name="I2P" email="support@i2p.net"/>
</authors>
......
......@@ -15,9 +15,9 @@ import net.i2p.CoreVersion;
*
*/
public class RouterVersion {
public final static String ID = "$Revision: 1.121 $ $Date: 2004/12/20 00:14:56 $";
public final static String VERSION = "0.4.2.4";
public final static long BUILD = 6;
public final static String ID = "$Revision: 1.122 $ $Date: 2004/12/21 11:32:50 $";
public final static String VERSION = "0.4.2.5";
public final static long BUILD = 0;
public static void main(String args[]) {
System.out.println("I2P Router version: " + VERSION);
System.out.println("Router ID: " + RouterVersion.ID);
......
......@@ -51,6 +51,8 @@ class ClientLeaseSetManagerJob extends JobImpl {
_pool = pool;
_currentLeaseSet = null;
_lastCreated = -1;
context.statManager().createRateStat("client.leaseSetExpired", "How long ago did our leaseSet expire?", "ClientMessages", new long[] { 60*60*1000l, 24*60*60*1000l });
}
public void forceRequestLease() {
......@@ -106,6 +108,13 @@ class ClientLeaseSetManagerJob extends JobImpl {
_log.warn("Insufficient safe inbound tunnels exist for the client (" + available
+ " available, " + _pool.getClientSettings().getNumInboundTunnels()
+ " required) - no leaseSet requested");
if (_currentLeaseSet != null) {
long howOld = getContext().clock().now() - _currentLeaseSet.getEarliestLeaseDate();
if (howOld > 0) {
// expired
getContext().statManager().addRateData("client.leaseSetExpired", howOld, 0);
}
}
}
requeue(RECHECK_DELAY);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment