Skip to content
This repository has been archived by the owner on Jan 4, 2023. It is now read-only.

Commit

Permalink
remove ie & iphone crawls
Browse files Browse the repository at this point in the history
  • Loading branch information
stevesouders committed Jul 1, 2016
1 parent e086a10 commit 1d64860
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions bulktest/batch_check.php
Expand Up @@ -19,7 +19,7 @@

$date = getdate();
$label = substr($date['month'], 0, 3) . " " . $date['mday'] . " " . $date['year'];
$aCrawlnames = array("dev", "mobile", "ie", "iphone");
$aCrawlnames = array("dev", "mobile");
foreach( $aCrawlnames as $crawlname ) {
$sProblems = "";

Expand All @@ -30,8 +30,8 @@
}
// TODO - It's unfortunate that the 500K and 5K URL counts are hardwired.
// Check slight less than the full # of URLs since some URLs have opted out.
else if ( ( ("dev" === $crawlname || "chrome" === $crawlname || "ie" === $crawlname) && 490000 > $numStatus ) ||
( ("mobile" === $crawlname || "android" === $crawlname || "iphone" === $crawlname) && 4900 > $numStatus ) ) {
else if ( ( "dev" === $crawlname && 490000 > $numStatus ) ||
( "mobile" === $crawlname && 95000 > $numStatus ) ) {
$sProblems .= " Only $numStatus URLs have been queued up in the status$crawlname table for crawl \"$label\".\n";
}

Expand All @@ -43,8 +43,8 @@
}
else {
$numUrls = $crawl['numUrls'];
if ( ( ("dev" === $crawlname || "chrome" === $crawlname || "ie" === $crawlname) && $numStatus !== $numUrls ) ||
( ("mobile" === $crawlname || "android" === $crawlname || "iphone" === $crawlname) && $numStatus !== $numUrls ) ) {
if ( ( "dev" === $crawlname && $numStatus !== $numUrls ) ||
( "mobile" === $crawlname && $numStatus !== $numUrls ) ) {
$sProblems .= " Only $numUrls URLs (instead of $numStatus) have been set for the $crawlname crawl \"$label\".\n";
}
}
Expand Down

0 comments on commit 1d64860

Please sign in to comment.