Skip to content

Commit

Permalink
Revert "fix for maximum crawl limit (#470)" (#490)
Browse files Browse the repository at this point in the history
This reverts commit 6527aa9.

Co-authored-by: Michael Christensen <Akilez@yahoo.com>
  • Loading branch information
BoGnY and Akilez authored Jan 26, 2023
1 parent 9ec2dd7 commit 903d986
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SitemapGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public function getSitemap(): Sitemap
}

if (! is_null($this->maximumCrawlCount)) {
$this->crawler->setMaximumCrawlCount($this->maximumCrawlCount);
$this->crawler->setTotalCrawlLimit($this->maximumCrawlCount);
}

$this->crawler
Expand Down

0 comments on commit 903d986

Please # to comment.