Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

Correcting remaining time issue in getContainers

hermens22b9d03bbf40
diff --git a/source/de/anomic/plasma/plasmaWordIndex.java b/source/de/anomic/plasma/plasmaWordIndex.java
index 456ab49ea..95de9da6b 100644
--- a/source/de/anomic/plasma/plasmaWordIndex.java
+++ b/source/de/anomic/plasma/plasmaWordIndex.java
@@ -307,6 +307,7 @@ public final class plasmaWordIndex {
// check time
remaining = maxTime - (System.currentTimeMillis() - start);
//if ((maxTime > 0) && (remaining <= 0)) break;
+ if ((maxTime >= 0) && (remaining <= 0)) remaining = 100;
// get next hash:
singleHash = (String) i.next();