diff --git a/source/de/anomic/tools/DidYouMean.java b/source/de/anomic/tools/DidYouMean.java index 72dff5a8c..8bb7afffc 100644 --- a/source/de/anomic/tools/DidYouMean.java +++ b/source/de/anomic/tools/DidYouMean.java @@ -63,17 +63,31 @@ public class DidYouMean { } // check if timeout has been reached - while(((System.currentTimeMillis()-startTime) < TIMEOUT) && queue.size()>0) { - // consume more ... + boolean cont = false; + while(((System.currentTimeMillis()-startTime) < TIMEOUT)) { + if(queue.size()==0) { + // check if at least one producers is still running + for (int i=0; i0?"(timed out)":"")); + +(System.currentTimeMillis()-startTime)+"ms"+ " - remaining queue size: "+queue.size()); return this.set;