FetchUrl test 2, a=chris
diff --git a/src/executables/QueueServer.php b/src/executables/QueueServer.php
index 6d8d4a5ab..9c4f03670 100755
--- a/src/executables/QueueServer.php
+++ b/src/executables/QueueServer.php
@@ -470,8 +470,8 @@ class QueueServer implements CrawlConstants, Join
$lines = L\tail(C\LOG_DIR."/QueueServer.log", $lines_to_check);
L\crawlLog("...Got QueueServer.log lines");
if(count($lines) < $lines_to_check) {
- L\crawlLog("...Too few log lines to check if both processes running.".
- " Assume still running.");
+ L\crawlLog("...Too few log lines to check if both processes " .
+ "running. Assume still running.");
return;
}
$filters = ($process == self::INDEXER) ? ["Indexer", "merg",
diff --git a/src/library/FetchUrl.php b/src/library/FetchUrl.php
index 594cb2319..c08fdc1af 100755
--- a/src/library/FetchUrl.php
+++ b/src/library/FetchUrl.php
@@ -320,7 +320,7 @@ class FetchUrl implements CrawlConstants
at crawl time. Not have it on other systems causes crashes
at query time
*/
- if (!empty($agent_handler)) {
+ if (!$minimal) {
curl_multi_remove_handle($agent_handler, $sites[$i][0]);
}
curl_close($sites[$i][0]);