The worker is split into several classes

This commit is contained in:
Michael 2022-05-19 19:24:21 +00:00
parent 87e14d9d28
commit dc16e6d471
9 changed files with 591 additions and 510 deletions

View file

@ -95,9 +95,6 @@ class Cron
// Clear cache entries
Worker::add(PRIORITY_LOW, 'ClearCache');
// Requeue posts from the post delivery entries
Worker::add(PRIORITY_MEDIUM, 'RequeuePosts');
DI::config()->set('system', 'last_cron_hourly', time());
}