- Issue created by @Harlor
When the sitemaps are generated and the max_execution_time is reached inside QueueWorkerDecorator::generate(). The current state is stashed in stashResults(). When the process continues the state is restored in unstashResults() but the sitemapProcessedNow is not restored correctly because it doesn't take the site variant into account correctly.
This leads to URLs ending up in the wrong sitemap.
If you are not having URLs in the wrong sitemap you are likely just not running into the stashing mechanism. You can reduce the max_execution_time/generate_duration.
Active
1.0
Code