Reduce requests to your website by Simply Static during export, 429 status code

If you notice requests by Simply Static, during the export process, are resulting in a number of 429 status codes being returned a rate limiter in your environment may be active. You can try using the following code snippet to reduce the number of requests.

// Reduces the number of fetched pages per run.
add_filter('simply_static_fetch_urls_batch_size', function( $batch_size ) {
	return 10; // default is 50.
});

Here is a link to more information about how to add a Simply Static filter to WordPress: https://docs.simplystatic.com/article/24-how-to-use-a-filter-in-wordpress