forked from Mirrors/privacore-open-source-search-engine
fixed core
This commit is contained in:
12
Msg40.cpp
12
Msg40.cpp
@ -1190,8 +1190,6 @@ bool gotSummaryWrapper ( void *state ) {
|
||||
THIS->m_msg3a.m_numDocIds);
|
||||
// it returns false if we're still awaiting replies
|
||||
if ( ! THIS->gotSummary ( ) ) return false;
|
||||
// it seems to return true when requests are outstanding...
|
||||
if ( THIS->m_numReplies < THIS->m_numRequests ) return false;
|
||||
// now call callback, we're done
|
||||
THIS->m_callback ( THIS->m_state );
|
||||
return true;
|
||||
@ -1224,11 +1222,6 @@ bool Msg40::gotSummary ( ) {
|
||||
g_errno = 0;
|
||||
}
|
||||
|
||||
// . ok, now i wait for everybody.
|
||||
// . TODO: evaluate if this hurts us
|
||||
//if ( m_numReplies < m_numRequests )
|
||||
// return false;
|
||||
|
||||
doAgain:
|
||||
|
||||
// do we need to launch another batch of summary requests?
|
||||
@ -1251,6 +1244,11 @@ bool Msg40::gotSummary ( ) {
|
||||
//char *xx=NULL; *xx=0;
|
||||
}
|
||||
|
||||
// . ok, now i wait for everybody.
|
||||
// . TODO: evaluate if this hurts us
|
||||
if ( m_numReplies < m_numRequests )
|
||||
return false;
|
||||
|
||||
|
||||
// save this before we increment m_numContiguous
|
||||
//long oldNumContiguous = m_numContiguous;
|
||||
|
@ -82,9 +82,6 @@
|
||||
# field being accurate.
|
||||
<useIfModifiedSince>0</>
|
||||
|
||||
# Keep crawler on same domain as seed urls?
|
||||
<restrictDomain>1</>
|
||||
|
||||
# If this is true, do not allow spammy inlinks to vote. This check is too
|
||||
# aggressive for some collections, i.e. it does not allow pages with cgi in
|
||||
# their urls to vote.
|
||||
|
Reference in New Issue
Block a user