Author: xor
Date: 2008-11-16 15:55:56 +0000 (Sun, 16 Nov 2008)
New Revision: 23646

Modified:
   trunk/plugins/WoT/introduction/IntroductionClient.java
   trunk/plugins/WoT/introduction/IntroductionServer.java
Log:
Tweak thread periods to low values for testing.

Modified: trunk/plugins/WoT/introduction/IntroductionClient.java
===================================================================
--- trunk/plugins/WoT/introduction/IntroductionClient.java      2008-11-16 
15:53:42 UTC (rev 23645)
+++ trunk/plugins/WoT/introduction/IntroductionClient.java      2008-11-16 
15:55:56 UTC (rev 23646)
@@ -53,12 +53,11 @@
  */
 public final class IntroductionClient implements Runnable, ClientCallback  {
        
-       private static final long THREAD_PERIOD = 30 * 60 * 1000; /* FIXME: 
tweak before release: */ 
+       private static final long STARTUP_DELAY = 1 * 60 * 1000;
+       private static final long THREAD_PERIOD = 10 * 60 * 1000; /* FIXME: 
tweak before release: */ 
        
        public static final byte PUZZLE_DOWNLOAD_BACKWARDS_DAYS = 
IntroductionServer.PUZZLE_INVALID_AFTER_DAYS - 1;
-
        public static final int PUZZLE_REQUEST_COUNT = 16;
-       
        public static final int PUZZLE_POOL_SIZE = 128;
        
        /* FIXME: Display a random puzzle of an identity in the UI instead of 
always the first one! Otherwise we should really have each identity only

Modified: trunk/plugins/WoT/introduction/IntroductionServer.java
===================================================================
--- trunk/plugins/WoT/introduction/IntroductionServer.java      2008-11-16 
15:53:42 UTC (rev 23645)
+++ trunk/plugins/WoT/introduction/IntroductionServer.java      2008-11-16 
15:55:56 UTC (rev 23646)
@@ -49,7 +49,8 @@
 public final class IntroductionServer implements Runnable, ClientCallback {
        
        private static final long STARTUP_DELAY = 1 * 60 * 1000;
-       private static final long THREAD_PERIOD = 30 * 60 * 1000; /* FIXME: 
tweak before release */
+       private static final long THREAD_PERIOD = 10 * 60 * 1000; /* FIXME: 
tweak before release */
+
        public static final byte PUZZLE_COUNT = 5; 
        public static final byte PUZZLE_INVALID_AFTER_DAYS = 3;
 

_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs

Reply via email to