more protection for the cleanup thread

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7848 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 14 years ago
parent d13103a0a7
commit 1f300217f8

@ -108,7 +108,11 @@ public final class IndexCell<ReferenceType extends Reference> extends AbstractBu
private class CleanupThread extends Thread {
public void run() {
while (IndexCell.this.cleanupShallRun) {
cleanCache();
try {
cleanCache();
} catch (final Exception e) {
Log.logException(e);
}
try { Thread.sleep(3000); } catch (final InterruptedException e) {}
}
}

Loading…
Cancel
Save