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

Modified Files:
      Tag: ngrouting
        Main.java StateChain.java 
Log Message:
7049:
Logging.
Add new diag var, messageSuccessRatio.
Fix obscure (I hope...) NPE.
Schedule a new conn opener in NGRouting's check-for-open-conn when we need one.
Make count of RT nodes with open conns only include nodes with open conns *NOW*.
Change reporting of inserts, hopefully fix insertReplyTime not set errors.
Set acceptedTime when we set accepted, even if we don't actually get an Accepted.
Also zab's ASL work, and edward j. huff's typo fixes


Index: Main.java
===================================================================
RCS file: /cvsroot/freenet/freenet/src/freenet/node/Main.java,v
retrieving revision 1.234.2.15
retrieving revision 1.234.2.16
diff -u -r1.234.2.15 -r1.234.2.16
--- Main.java   30 Aug 2003 00:06:54 -0000      1.234.2.15
+++ Main.java   30 Aug 2003 01:23:00 -0000      1.234.2.16
@@ -1971,6 +1971,9 @@
                d.registerContinuous("messagesInPacketReceived", d.MINUTE,
                                                         "Number of messages in a 
received packet",
                                                         messages);
+               d.registerBinomial("messageSuccessRatio", d.MINUTE,
+                                                  "The number of message sends 
attempted, "+
+                                                  "and the number that succeeded.", 
messages);
                d.registerContinuous("normalizedSuccessTime", d.MINUTE,
                                                         "Time to successfully find 
and transfer a file, "+
                                                         "normalized for size equal to 
the store average "+

Index: StateChain.java
===================================================================
RCS file: /cvsroot/freenet/freenet/src/freenet/node/StateChain.java,v
retrieving revision 1.20
retrieving revision 1.20.2.1
diff -u -r1.20 -r1.20.2.1
--- StateChain.java     1 Jul 2003 16:07:36 -0000       1.20
+++ StateChain.java     30 Aug 2003 01:23:01 -0000      1.20.2.1
@@ -210,8 +210,7 @@
                node.logger.log(StateChain.class,
                                "Chain " + Fields.longToHex(state.id()) + 
                                " state change: " + state.getName() + " -> " +
-                               newState.getName(), new Exception("debug"),
-                               Logger.DEBUG);
+                               newState.getName(), Logger.DEBUG);
         }
         
         // okay, watch out for weirdo recursion problems..

_______________________________________________
cvs mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/cvs

Reply via email to