Skip to content

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

fix for http://www.yacy-forum.de/viewtopic.php?p=28108#28108

orbiter0b9370a9dc18
diff --git a/source/de/anomic/plasma/plasmaCrawlNURL.java b/source/de/anomic/plasma/plasmaCrawlNURL.java
index c49325bc3..bcbfd3f5b 100644
--- a/source/de/anomic/plasma/plasmaCrawlNURL.java
+++ b/source/de/anomic/plasma/plasmaCrawlNURL.java
@@ -205,7 +205,7 @@ public class plasmaCrawlNURL {
System.exit(-1);
}
} else {
- File oldCacheFile = new File(cacheStacksPath, "urlNotice1.db");
+ File oldCacheFile = new File(cacheStacksPath, "urlNotice2.db");
oldCacheFile.getParentFile().mkdirs();
try {
urlIndexFile = new kelondroCache(kelondroTree.open(oldCacheFile, bufferkb / 2 * 0x400, preloadTime, rowdef), bufferkb / 2 * 0x400, true, true);
@@ -220,7 +220,7 @@ public class plasmaCrawlNURL {
if (urlIndexFile != null) {
try {urlIndexFile.close();} catch (IOException e) {}
urlIndexFile = null;
- File cacheFile = new File(cacheStacksPath, "urlNotice1.db");
+ File cacheFile = new File(cacheStacksPath, "urlNotice2.db");
cacheFile.delete();
}
openHashCache();