mirror of
https://github.com/privacore/open-source-search-engine.git
synced 2025-07-14 02:36:06 -04:00
Remove niceness from getUrlFilterNum
This commit is contained in:
@ -2190,7 +2190,6 @@ int32_t getUrlFilterNum ( SpiderRequest *sreq,
|
||||
SpiderReply *srep,
|
||||
int32_t nowGlobal,
|
||||
bool isForMsg20,
|
||||
int32_t niceness,
|
||||
CollectionRec *cr,
|
||||
bool isOutlink,
|
||||
HashTableX *quotaTable,
|
||||
|
1
Spider.h
1
Spider.h
@ -981,7 +981,6 @@ int32_t getUrlFilterNum ( class SpiderRequest *sreq ,
|
||||
class SpiderReply *srep,
|
||||
int32_t nowGlobal,
|
||||
bool isForMsg20,
|
||||
int32_t niceness,
|
||||
class CollectionRec *cr,
|
||||
bool isOutlink,
|
||||
HashTableX *quotaTable,
|
||||
|
@ -949,7 +949,7 @@ bool SpiderColl::addSpiderRequest ( SpiderRequest *sreq , int64_t nowGlobalMS )
|
||||
// get ufn/priority,because if filtered we do not want to add to doledb
|
||||
int32_t ufn ;
|
||||
// HACK: set isOutlink to true here since we don't know if we have sre
|
||||
ufn = ::getUrlFilterNum(sreq,NULL,nowGlobalMS,false,MAX_NICENESS,m_cr,
|
||||
ufn = ::getUrlFilterNum(sreq,NULL,nowGlobalMS,false,m_cr,
|
||||
true,//isoutlink? HACK!
|
||||
NULL,// quota table quotatable
|
||||
-1 ); // langid not valid
|
||||
@ -2827,7 +2827,6 @@ bool SpiderColl::scanListForWinners ( ) {
|
||||
srep,
|
||||
nowGlobal,
|
||||
false,
|
||||
MAX_NICENESS,
|
||||
m_cr,
|
||||
false, // isOutlink?
|
||||
// provide the page quota table
|
||||
|
@ -11092,7 +11092,7 @@ int32_t *XmlDoc::getUrlFilterNum ( ) {
|
||||
int32_t ufn = ::getUrlFilterNum ( oldsr,
|
||||
NULL,//&fakeReply,
|
||||
spideredTime,false,
|
||||
m_niceness,cr,
|
||||
cr,
|
||||
false, // isOutlink?
|
||||
NULL,
|
||||
langIdArg);
|
||||
@ -16465,7 +16465,7 @@ Msg20Reply *XmlDoc::getMsg20Reply ( ) {
|
||||
// get it
|
||||
int32_t ufn;
|
||||
ufn=::getUrlFilterNum(&sreq,&srep,spideredTime,true,
|
||||
m_niceness,cr,
|
||||
cr,
|
||||
false, // isOutlink?
|
||||
NULL ,
|
||||
langIdArg);
|
||||
|
Reference in New Issue
Block a user