Problem/Motivation
Currently the cron time for the NodeRevisionDelete is 300 seconds!
#[QueueWorker(
id: 'node_revision_delete',
title: new TranslatableMarkup('Node revision delete'),
cron: ['time' => 300]
)]
That feels like a very very long time, especially as \Drupal\Core\Cron::run() does
// Try to allocate enough time to run all the hook_cron implementations.
Environment::setTimeLimit(240);
Proposed resolution
On the 2.1.x branch has performance improvements and queue processing improvements that make this unnecessary. Let's reduce this to 30 seconds.
Also the NodeRevisionDeleteRequeue has a completely unnecessary 300 second cron time too. That queue will be really quick to process so let's reduce it to 5 seconds.
Remaining tasks
User interface changes
None
API changes
None
Data model changes
None
Comments
Comment #3
alexpottThis is a simple one.
Comment #5
alexpott