Hello all;
 
My transient node is now sending 2000+ bytes per second to do "nothing" .. it appears that the connection openner is running away trying to open connections that are getting refused/otherwise won't open.  I looked through CVS; and my code suggestion is that it was introduced into the stable build by "Randomize backoff time in Connection Opener. This is mainly good because it prevents us having lots of simultaneous connection opens that we know probably won't succeed."
 
Specificly; the line that changed from currentDelay = currentDelay << 1; to currentDelay = Core.randSource.nextInt(currentDelay << 1); seems to have the net effect of generally reducing the time between connection attempts to *very small values*; could we change this to currentDelay = (currentDelay << 1) + Core.randSource.nextInt(startBackoffDelay) or the like .. to ensure that the delay always increases..
 
Thanks all! (unfortunately; I don't have a build environment for freenet; so I'm unable to test this myself.. so I look forward to the next update! :)
 
Trevor

Reply via email to