If I'm reading the code correctly, the default submission interval is 86400 * 60 * 60 = 311,040,000 seconds = nearly 10 years.
This... is too long.
From simple_sitemap_engines.module:
function simple_sitemap_engines_cron() {
$config = \Drupal::config('simple_sitemap_engines.settings');
if ($config->get('enabled')) {
$interval = (int) $config->get('submission_interval') * 60 * 60;
$request_time = \Drupal::time()->getRequestTime();
From simple_sitemap_engines.settings.yml
enabled: true
submission_interval: 86400
I think the * 60 * 60 bit should probably be eliminated, so that the submission interval can be specified in seconds as expected, right?
Comments
Comment #3
aaronbaumanComment #5
gbyteThanks for catching this! Adhering to the main module's logic, it appears the problem is the actual value which should be the amount in hours, not seconds. I just changed the value and added an update hook for all the poor souls which left this at default. ;)
Comment #6
gbyte