kelondroExceptionCounter didn't work

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5138 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
lotus 17 years ago
parent ae677e1738
commit 3ded1efe84

@ -1397,6 +1397,7 @@ Use Default Profile:==Standard Profil benutzen:
Save==Speichern
and use==und nutze
of the defined performance.==der vorgegebenen Geschwindigkeit.
show expert settings==Zeige Experten-Einstellungen
Changes take effect immediately==Änderungen werden sofort wirksam
Cache Settings:==Cache Einstellungen:
Cache Type==Cache Typ

@ -66,7 +66,7 @@ public class plasmaDHTChunk {
private long selectionEndTime = 0;
private int transferFailedCounter = 0;
private int kelondroExceptionCounter = 0;
private static int kelondroExceptionCounter = 0;
public indexContainer firstContainer() {
return indexContainers[0];
@ -272,7 +272,7 @@ public class plasmaDHTChunk {
urlCache = new HashMap<String, indexURLReference>();
this.status = chunkStatus_FAILED;
kelondroExceptionCounter++;
if (kelondroExceptionCounter > 50) wordIndex.deleteIndexOnExit(); // delete index on exit for rebuild
if (kelondroExceptionCounter > 500) wordIndex.deleteIndexOnExit(); // delete index on exit for rebuild
return 0;
}
}

Loading…
Cancel
Save