diff --git a/RdbTree.cpp b/RdbTree.cpp index 33795bd7..4b881081 100644 --- a/RdbTree.cpp +++ b/RdbTree.cpp @@ -749,8 +749,9 @@ void RdbTree::deleteNode ( long i , bool freeData ) { // sanity check if ( ! m_isWritable ) { log("db: Can not delete record from tree because " - "not writable."); - char *xx = NULL; *xx = 0; + "not writable. name=%s",m_dbname); + return; + //char *xx = NULL; *xx = 0; } // must be saved from interrupts lest i be changed //if(g_intOff <= 0 && g_globalNiceness == 0 ) { char *xx=NULL;*xx=0; } diff --git a/Spider.cpp b/Spider.cpp index a14670a7..d78275af 100644 --- a/Spider.cpp +++ b/Spider.cpp @@ -35,7 +35,9 @@ void testWinnerTreeKey ( ) ; // try 45 to prevent false revivals //#define SPIDER_DONE_TIMER 45 // try 30 again since we have new localcrawlinfo update logic much faster -#define SPIDER_DONE_TIMER 30 +//#define SPIDER_DONE_TIMER 30 +// neo under heavy load go to 60 +#define SPIDER_DONE_TIMER 60 // seems like timecity.com as gigabytes of spiderdb data so up from 40 to 400 #define MAX_WINNER_NODES 400