Update of /cvsroot/freenet/freenet/src/freenet/node
In directory sc8-pr-cvs1:/tmp/cvs-serv6510/src/freenet/node
Modified Files:
Main.java ConnectionOpener.java
Log Message:
new diag
Index: Main.java
===================================================================
RCS file: /cvsroot/freenet/freenet/src/freenet/node/Main.java,v
retrieving revision 1.257
retrieving revision 1.258
diff -u -r1.257 -r1.258
--- Main.java 6 Sep 2003 12:21:05 -0000 1.257
+++ Main.java 6 Sep 2003 19:28:10 -0000 1.258
@@ -1735,6 +1735,8 @@
d.registerBinomial("outboundRestartRatio", d.MINUTE,
"The number of outbound connections that " +
"restart an existing session (key).",outConn);
+ d.registerCounting("outboundOpenerConnections",d.MINUTE,
+ "The number of connections the Connection Opener
starts",outConn);
// inbound connections
Index: ConnectionOpener.java
===================================================================
RCS file: /cvsroot/freenet/freenet/src/freenet/node/ConnectionOpener.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- ConnectionOpener.java 30 Aug 2003 23:16:51 -0000 1.8
+++ ConnectionOpener.java 6 Sep 2003 19:28:10 -0000 1.9
@@ -134,6 +134,7 @@
// FIXME: possible race on isCached?
Core.logger.log(this, "Opened connection to "+ref,
Logger.MINOR);
+ Core.diagnostics.occurrenceCounting("outboundOpenerConnections",1);
currentDelay = 0;
baseBackoffDelay = 0;
} catch (CommunicationException e) {
_______________________________________________
cvs mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/cvs