Commit 2925229188c76d014b42a7588a01ff23dd08b3bd

Authored by Paul Barrett
1 parent 1f0c45fd

KTS-4201. Added a timeout of 120 seconds to the text extraction socket read/write

'XML-RPC: xmlrpcmsg::parseResponse: no response received from server.' error in Apache log

KTS-4236. Added a timeout of 60 seconds to the search query call

KT Indexer

Fixed

Committed by: Paul Barrett

Reviewed by: Megan Watson
bin/luceneserver/ktlucene.jar
No preview for this file type
search2/indexing/lib/XmlRpcLucene.inc.php
... ... @@ -249,7 +249,7 @@ class XmlRpcLucene
249 249 php_xmlrpc_encode((string) $this->authToken),
250 250 php_xmlrpc_encode((string) $query)));
251 251  
252   - $result=&$this->client->send($function);
  252 + $result=&$this->client->send($function, 60);
253 253 if($result->faultCode())
254 254 {
255 255 $this->error($result, 'query');
... ... @@ -295,7 +295,7 @@ class XmlRpcLucene
295 295 array(
296 296 new xmlrpcval($content, 'base64'))
297 297 );
298   - $result =& $this->client->send($function);
  298 + $result =& $this->client->send($function, 120);
299 299  
300 300 unset($content);
301 301  
... ... @@ -390,7 +390,7 @@ class XmlRpcLucene
390 390 php_xmlrpc_encode((string)$toExtension)
391 391 ));
392 392  
393   - $result=&$this->client->send($function);
  393 + $result=&$this->client->send($function, 120);
394 394  
395 395 unset($content);
396 396  
... ...