wilr / silverstripe-googlesitemaps

Google Sitemaps module for the SilverStripe CMS
BSD 3-Clause "New" or "Revised" License
74 stars 95 forks source link

Timeout on big lists of objects #155

Closed Firesphere closed 5 years ago

Firesphere commented 5 years ago

It seems the sitemap times out when there are too many objects to count and split in to separate xmls

wilr commented 5 years ago

@Firesphere try setting in your config.

Wilr\GoogleSitemaps\GoogleSitemap:
  objects_per_sitemap: 100

By default we show 1000 of each record type per file, depending on your canView code that can be too many.