labs-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thors...@apache.org
Subject svn commit: r679401 - /labs/droids/trunk/src/core/java/org/apache/droids/DefaultCrawler.java
Date Thu, 24 Jul 2008 13:15:41 GMT
Author: thorsten
Date: Thu Jul 24 06:15:41 2008
New Revision: 679401

URL: http://svn.apache.org/viewvc?rev=679401&view=rev
Log:
Removing the thread sleep from the crawler since its prevents us to execute in parallel

Modified:
    labs/droids/trunk/src/core/java/org/apache/droids/DefaultCrawler.java

Modified: labs/droids/trunk/src/core/java/org/apache/droids/DefaultCrawler.java
URL: http://svn.apache.org/viewvc/labs/droids/trunk/src/core/java/org/apache/droids/DefaultCrawler.java?rev=679401&r1=679400&r2=679401&view=diff
==============================================================================
--- labs/droids/trunk/src/core/java/org/apache/droids/DefaultCrawler.java (original)
+++ labs/droids/trunk/src/core/java/org/apache/droids/DefaultCrawler.java Thu Jul 24 06:15:41
2008
@@ -75,10 +75,10 @@
         getRunningWorker().put(id, worker);
         getPool().execute(worker);
         Core.threadMessage("suspending "+id);
-        Thread.sleep(THREAD_SLEEP);
+/*        Thread.sleep(THREAD_SLEEP);
       } catch (InterruptedException e) {
         Core.threadMessage(e.getMessage());
-      } catch (DroidsException e) {
+    */  } catch (DroidsException e) {
         Core.threadMessage(e.getMessage());
       } 
       return id;



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@labs.apache.org
For additional commands, e-mail: commits-help@labs.apache.org


Mime
View raw message