Correcting remaining time issue in getContainers

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1984 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
hermens 19 years ago
parent 5defe97ccb
commit 22b9d03bbf

@ -307,6 +307,7 @@ public final class plasmaWordIndex {
// check time // check time
remaining = maxTime - (System.currentTimeMillis() - start); remaining = maxTime - (System.currentTimeMillis() - start);
//if ((maxTime > 0) && (remaining <= 0)) break; //if ((maxTime > 0) && (remaining <= 0)) break;
if ((maxTime >= 0) && (remaining <= 0)) remaining = 100;
// get next hash: // get next hash:
singleHash = (String) i.next(); singleHash = (String) i.next();

Loading…
Cancel
Save