fix core when host is down for > 1000 secs
while spidering
This commit is contained in:
parent
3a003908ea
commit
0d0951284d
@ -616,7 +616,10 @@ bool getLinkInfo ( SafeBuf *reqBuf ,
|
||||
req , // state data
|
||||
NULL , // state data
|
||||
gotMulticastReplyWrapper25 ,
|
||||
1000 , // timeout in seconds (was 30)
|
||||
// if this is too low we core in XmlDoc.cpp
|
||||
// after getNewSpiderReply() returns a -1 because
|
||||
// it blocks for some reason.
|
||||
9999998 , // timeout in seconds (was 30)
|
||||
req->m_niceness ,
|
||||
false, // realtime ,
|
||||
hostId )) {// firstHostId ,
|
||||
|
@ -9139,7 +9139,7 @@ char *XmlDoc::isDupOfUs ( int64_t d ) {
|
||||
m_niceness ,
|
||||
false , // add to cache
|
||||
60*60*24 , // maxcacheage
|
||||
60 );// timeout
|
||||
999999 );// timeout
|
||||
// we blocked
|
||||
if ( ! s ) return (char *)-1;
|
||||
// error?
|
||||
|
Loading…
Reference in New Issue
Block a user