BatchSize now 10
authoramwaterhouse <Andrew Waterhouse>
Thu, 5 Oct 2006 16:22:31 +0000 (16:22 +0000)
committeramwaterhouse <Andrew Waterhouse>
Thu, 5 Oct 2006 16:22:31 +0000 (16:22 +0000)
src/jalview/io/DasSequenceFeatureFetcher.java

index b203270..ad2e37b 100755 (executable)
@@ -362,7 +362,7 @@ public class DasSequenceFeatureFetcher implements Runnable
       //We must limit the feature fetching to 20 to prevent\r
       //Servers being overloaded with too many requests\r
       int batchCount = 0;\r
-      int batchMaxSize = 20;\r
+      int batchMaxSize = 10;\r
       int seqIndex = 0;\r
       while (seqIndex < sequences.length)\r
       {\r
@@ -445,7 +445,7 @@ public class DasSequenceFeatureFetcher implements Runnable
     while( threadsRunning > 0 )\r
     {\r
       try{\r
-        Thread.sleep(1000);\r
+        Thread.sleep(500);\r
 \r
       }catch(Exception ex)\r
       {\r