Update of /cvsroot/freenet/freenet/src/freenet/node
In directory sc8-pr-cvs1:/tmp/cvs-serv25642/src/freenet/node

Modified Files:
        ConnectionOpener.java 
Log Message:
accounting fix

Index: ConnectionOpener.java
===================================================================
RCS file: /cvsroot/freenet/freenet/src/freenet/node/ConnectionOpener.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- ConnectionOpener.java       6 Sep 2003 19:28:10 -0000       1.9
+++ ConnectionOpener.java       10 Sep 2003 00:42:36 -0000      1.10
@@ -127,6 +127,7 @@
        try {
            Core.logger.log(this, "Opening connection to "+ref,
                            Logger.MINOR);
+           Core.diagnostics.occurrenceCounting("outboundOpenerConnections",1); //look 
this stat ye mighty and despair
            ConnectionHandler ch = 
                node.makeConnection(ref, -1); // -1 means run blocking
            long diff = System.currentTimeMillis() - startTime;
@@ -134,7 +135,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

Reply via email to