Author: orbiter Date: 2006-03-11 22:55:32 +0100 (Sat, 11 Mar 2006) New Revision: 1878
Modified: trunk/source/de/anomic/plasma/plasmaWordIndexCache.java Log: quickfix for time problem during cache restore see http://www.yacy-forum.de/viewtopic.php?p=18810#18810 Modified: trunk/source/de/anomic/plasma/plasmaWordIndexCache.java =================================================================== --- trunk/source/de/anomic/plasma/plasmaWordIndexCache.java 2006-03-10 21:53:22 UTC (rev 1877) +++ trunk/source/de/anomic/plasma/plasmaWordIndexCache.java 2006-03-11 21:55:32 UTC (rev 1878) @@ -167,7 +167,7 @@ synchronized (cache) { int i = dumpArray.size(); String wordHash; - long creationTime; + //long creationTime; plasmaWordIndexEntry wordEntry; byte[][] row; //Runtime rt = Runtime.getRuntime(); @@ -176,10 +176,10 @@ row = dumpArray.get(i); if ((row[0] == null) || (row[1] == null) || (row[2] == null) || (row[3] == null) || (row[4] == null)) continue; wordHash = new String(row[0], "UTF-8"); - creationTime = kelondroRecords.bytes2long(row[2]); + //creationTime = kelondroRecords.bytes2long(row[2]); wordEntry = new plasmaWordIndexEntry(new String(row[3], "UTF-8"), new String(row[4], "UTF-8")); // store to cache - addEntry(wordHash, wordEntry, creationTime); + addEntry(wordHash, wordEntry, startTime); urlCount++; // protect against memory shortage //while (rt.freeMemory() < 1000000) {flushFromMem(); java.lang.System.gc();} _______________________________________________ YaCy-svn mailing list [email protected] http://lists.berlios.de/mailman/listinfo/yacy-svn
