Author: xor
Date: 2008-11-14 01:46:16 +0000 (Fri, 14 Nov 2008)
New Revision: 23561
Modified:
trunk/plugins/WoT/introduction/IntroductionServer.java
Log:
Wait longer for the node to start up so that we have more connections when
inserting captchas.
Modified: trunk/plugins/WoT/introduction/IntroductionServer.java
===================================================================
--- trunk/plugins/WoT/introduction/IntroductionServer.java 2008-11-14
01:43:51 UTC (rev 23560)
+++ trunk/plugins/WoT/introduction/IntroductionServer.java 2008-11-14
01:46:16 UTC (rev 23561)
@@ -46,6 +46,7 @@
*/
public class IntroductionServer implements Runnable, ClientCallback {
+ private static final long STARTUP_DELAY = 10 * 60 * 1000;
private static final long THREAD_PERIOD = 30 * 60 * 1000; /* FIXME:
tweak before release */
public static final byte PUZZLE_COUNT = 5;
public static final byte PUZZLE_INVALID_AFTER_DAYS = 3;
@@ -94,7 +95,7 @@
mThread = Thread.currentThread();
try {
- Thread.sleep((long) (1*60*1000 * (0.5f +
Math.random()))); // Let the node start up
+ Thread.sleep((long) (STARTUP_DELAY * (0.5f +
Math.random()))); // Let the node start up
}
catch (InterruptedException e)
{
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs