forked from Mirrors/privacore-open-source-search-engine
fix core from changing parms while evaluating
a url.
This commit is contained in:
@ -18211,7 +18211,13 @@ bool Parms::doParmSendingLoop ( ) {
|
||||
-1 , // maxwait
|
||||
NULL , // replybuf
|
||||
0 , // replybufmaxsize
|
||||
0 ) ) { // niceness
|
||||
// CRAP! we can't use 0 any
|
||||
// more because we quickpolled
|
||||
// in Spider.cpp::
|
||||
// getUrlFilterNum2() and
|
||||
// changed the # of numRegExs
|
||||
// and then cored!
|
||||
MAX_NICENESS ) ) { // niceness
|
||||
log("parms: faild to send: %s",mstrerror(g_errno));
|
||||
continue;
|
||||
}
|
||||
|
12
gb.conf
12
gb.conf
@ -96,7 +96,7 @@
|
||||
<maxDelayBeforeLoggingACallbackOrHandler>-1</>
|
||||
|
||||
# Sends emails to admin if a host goes down.
|
||||
<sendEmailAlerts>0</>
|
||||
<sendEmailAlerts>1</>
|
||||
|
||||
# Do not send email alerts about dead hosts to anyone except
|
||||
# sysadmin@gigablast.com between the times given below unless all the twins of
|
||||
@ -105,7 +105,7 @@
|
||||
<delayNonCriticalEmailAlerts>0</>
|
||||
|
||||
# Email alerts will include the cluster name
|
||||
<clusterName><![CDATA[unspecified]]></>
|
||||
<clusterName><![CDATA[trinity]]></>
|
||||
|
||||
# Send an email after a host has not responded to successive pings for this
|
||||
# many milliseconds.
|
||||
@ -139,7 +139,7 @@
|
||||
<errorString3><![CDATA[]]></>
|
||||
|
||||
# Sends to email address 1 through email server 1.
|
||||
<sendEmailAlertsToEmail1>0</>
|
||||
<sendEmailAlertsToEmail1>1</>
|
||||
|
||||
# Sends to email address 1 through email server 1 if any parm is changed.
|
||||
<sendParmChangeEmailAlertsToEmail1>0</>
|
||||
@ -148,10 +148,10 @@
|
||||
<emailServer1><![CDATA[10.5.54.47]]></>
|
||||
|
||||
# Sends to this address when sending email 1
|
||||
<emailAddress1><![CDATA[4081234567@vtext.com]]></>
|
||||
<emailAddress1><![CDATA[5054503518@vtext.com]]></>
|
||||
|
||||
# The from field when sending email 1
|
||||
<fromEmailAddress1><![CDATA[sysadmin@mydomain.com]]></>
|
||||
<fromEmailAddress1><![CDATA[sysadmin@diffbot.com]]></>
|
||||
|
||||
# Sends to email address 2 through email server 2.
|
||||
<sendEmailAlertsToEmail2>0</>
|
||||
@ -231,7 +231,7 @@
|
||||
|
||||
# Any IPs in this list will have administrative access to the Gigablast search
|
||||
# engine.
|
||||
# Use <adminIp> tag.
|
||||
<adminIp>98.210.101.142</>
|
||||
|
||||
# Log GET and POST requests received from the http server?
|
||||
<logHttpRequests>1</>
|
||||
|
Reference in New Issue
Block a user