forked from Mirrors/privacore-open-source-search-engine
Remove commented out code
This commit is contained in:
@ -3492,8 +3492,6 @@ bool SpiderColl::addToDoledbIpTable(SpiderRequest *sreq) {
|
||||
if ( g_conf.m_logDebugSpider )
|
||||
log(LOG_DEBUG,"spider: added ip=%s to doleiptable "
|
||||
"(score=1)",iptoa(sreq->m_firstIp));
|
||||
// sanity check
|
||||
//if ( ! m_doledbIpTable.m_isWritable ) { g_process.shutdownAbort(true);}
|
||||
}
|
||||
|
||||
// . these priority slots in doledb are not empty
|
||||
@ -3536,8 +3534,6 @@ void SpiderColl::removeFromDoledbIpTable(int32_t firstIp) {
|
||||
// this can file if writes are disabled on this hashtablex
|
||||
// because it is saving
|
||||
m_doledbIpTable.removeKey ( &firstIp );
|
||||
// sanity check
|
||||
//if ( ! m_doledbIpTable.m_isWritable ) { g_process.shutdownAbort(true); }
|
||||
}
|
||||
// wtf!
|
||||
if ( *score < 0 ) { g_process.shutdownAbort(true); }
|
||||
|
Reference in New Issue
Block a user