On Thursday 17 January 2002 01:49, you wrote:
> How does/is the failureIntervals value work/supposed to work?
>
> it appears that it is intialized to zero, then incremented for each failure
> (except when a bunch of failures happen at once, in which case it is only
> incremented once), Then if it becomes larger than a certain value (6 or
> something) the node in question is deleted.

>
> It also looks like increaseContactProbability() is supposed to reset it to
> zero, but since increaseContactProbability is never called (at least, i
> can't find any call sites using grep), the value steadily increases until
> the node is removed.  That doesn't seem desireable, tho...
>
This was a dumb bug.  increaseContactProbability() is supposed to be called 
when the route succeeds. I just checked in a fix.

> --
> Benjamin Coates
>
>
> _______________________________________________
> Devl mailing list
> Devl at freenetproject.org
> http://lists.freenetproject.org/mailman/listinfo/devl

-- 
Freesites
(0.3) freenet:MSK at SSK@enI8YFo3gj8UVh-Au0HpKMftf6QQAgE/homepage//
(0.4) freenet:SSK at npfV5XQijFkF6sXZvuO0o~kG4wEPAgM/homepage//

_______________________________________________
Devl mailing list
Devl at freenetproject.org
http://lists.freenetproject.org/mailman/listinfo/devl

Reply via email to