try to fix spiders not going.

try to fix another core.
This commit is contained in:
Matt Wells 2014-07-17 13:48:43 -07:00
parent dc7a78687c
commit a0addd4000
2 changed files with 6 additions and 3 deletions

View File

@ -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; }

View File

@ -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