diff --git a/webapp/src/edu/cornell/mannlib/vitro/webapp/search/indexing/IndexWorkerThread.java b/webapp/src/edu/cornell/mannlib/vitro/webapp/search/indexing/IndexWorkerThread.java index 11f1fdcfb..ae72b7fa5 100644 --- a/webapp/src/edu/cornell/mannlib/vitro/webapp/search/indexing/IndexWorkerThread.java +++ b/webapp/src/edu/cornell/mannlib/vitro/webapp/search/indexing/IndexWorkerThread.java @@ -30,10 +30,10 @@ class IndexWorkerThread extends Thread{ this.indexer = indexer; this.threadNum = threadNum; this.distributing = distributing; - synchronized(this){ + /*synchronized(this){ if(starttime == 0) starttime = System.currentTimeMillis(); - } + }*/ } public void addToQueue(Individual ind){ @@ -97,4 +97,12 @@ class IndexWorkerThread extends Thread{ } } + public static void resetCount(){ + count = 0; + } + + public static void setStartTime(long startTime){ + starttime = startTime; + } + }