πŸ‡΅πŸ‡±Poland @Yuraul

Account created on 31 March 2021, over 3 years ago
#

Recent comments

πŸ‡΅πŸ‡±Poland Yuraul

MR updated with changes from #6 β†’

πŸ‡΅πŸ‡±Poland Yuraul

Yuraul β†’ made their first commit to this issue’s fork.

πŸ‡΅πŸ‡±Poland Yuraul

Yuraul β†’ made their first commit to this issue’s fork.

πŸ‡΅πŸ‡±Poland Yuraul

Yuraul β†’ made their first commit to this issue’s fork.

πŸ‡΅πŸ‡±Poland Yuraul

Fixed issues above and added D10 compatibility.

πŸ‡΅πŸ‡±Poland Yuraul

Yuraul β†’ made their first commit to this issue’s fork.

πŸ‡΅πŸ‡±Poland Yuraul

Updated for Drupal 10 and PHP 8 compatibility. Simple minimal test was made on D10 instance.

πŸ‡΅πŸ‡±Poland Yuraul

Yuraul β†’ made their first commit to this issue’s fork.

πŸ‡΅πŸ‡±Poland Yuraul

Yuraul β†’ created an issue.

πŸ‡΅πŸ‡±Poland Yuraul

I'd like to add the example to make more clear about the determinism.
Let's say I have sitemaps: index, monthly, incremental.
I want to regenerate incremental daily, but
I want to generate the monthly only once a month. The reasons for this are:

  1. Generation takes a very long time
  2. The content doesn't change very often, so it is pointless
  3. Extra resource usage
  4. Makes the generation of the incremental much slower

I can run simple-sitemap:rebuild-queue --variants=incremental, but when I run simple-sitemap:generate, once it has processed the queued items, next time it will also start processing the index and monthly.
Therefore, if I attempt to run simple-sitemap:generate separately, I don't know what it will do next:

  1. Will it continue regenerating the incremental sitemap that was started earlier?
  2. Will it requeue all sitemaps and start the generation from scratch?
πŸ‡΅πŸ‡±Poland Yuraul

"Starting the process all over again" after it has finished is its intended purpose. Please explain why this seems to bother you - is it because of it taking too many resources?

Sorry, I missed to explain this in motivation part. We need to have the ability to run a process with a time limit as many times as necessary to complete the current generation according to a schedule.

So basically you would also need a new rebuild-queue command as well.

Probably yes, good point, thank you.

Thank you for your feedback. I also want to note that the module is working just fine in general usage. The issues we've faced are only related to the huge amount of content, and we're working on solving them and want to share the solution.

Production build 0.71.5 2024