Why? They measure different things...

On Fri, Jun 23, 2006 at 06:27:45PM +0000, zothar at freenetproject.org wrote:
> Author: zothar
> Date: 2006-06-23 18:27:43 +0000 (Fri, 23 Jun 2006)
> New Revision: 9371
> 
> Modified:
>    trunk/freenet/src/freenet/node/useralerts/PeerManagerUserAlert.java
> Log:
> Make PeerManagerUserAlert thresholds for bwlimitDelayTime and 
> nodeAveragePingTime match shouldRejectRequest's maximum thresholds.
> 
> Modified: trunk/freenet/src/freenet/node/useralerts/PeerManagerUserAlert.java
> ===================================================================
> --- trunk/freenet/src/freenet/node/useralerts/PeerManagerUserAlert.java       
> 2006-06-23 18:07:47 UTC (rev 9370)
> +++ trunk/freenet/src/freenet/node/useralerts/PeerManagerUserAlert.java       
> 2006-06-23 18:27:43 UTC (rev 9371)
> @@ -25,10 +25,10 @@
>       static final int MAX_PEER_THRESHOLD = 50;
>       
>       /** How high can bwlimitDelayTime be before we alert (in milliseconds)*/
> -     static final int MAX_BWLIMIT_DELAY_TIME_THRESHOLD = 1000;
> +     static final int MAX_BWLIMIT_DELAY_TIME_THRESHOLD = 2000;
>       
>       /** How high can nodeAveragePingTime be before we alert (in 
> milliseconds)*/
> -     static final int MAX_NODE_AVERAGE_PING_TIME_THRESHOLD = 1500;
> +     static final int MAX_NODE_AVERAGE_PING_TIME_THRESHOLD = 1000;
>       
>       /** How high can oldestNeverConnectedPeerAge be before we alert (in 
> milliseconds)*/
>       static final long MAX_OLDEST_NEVER_CONNECTED_PEER_AGE_THRESHOLD = 
> ((long) 2)*7*24*60*60*1000;  // 2 weeks
> 
> _______________________________________________
> cvs mailing list
> cvs at freenetproject.org
> http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs
> 

-- 
Matthew J Toseland - toad at amphibian.dyndns.org
Freenet Project Official Codemonkey - http://freenetproject.org/
ICTHUS - Nothing is impossible. Our Boss says so.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20060623/f3c2f1d6/attachment.pgp>

Reply via email to