Use deferred tasks

This commit is contained in:
Michael 2022-07-21 06:23:55 +00:00
parent d4a536137d
commit c775833117
4 changed files with 29 additions and 6 deletions

View file

@ -89,8 +89,8 @@ class Cron
Tag::setLocalTrendingHashtags(24, 20);
Tag::setGlobalTrendingHashtags(24, 20);
// Process pending posts in the queue
Queue::processAll();
// Remove old pending posts from the queue
Queue::clear();
// Search for new contacts in the directory
if (DI::config()->get('system', 'synchronize_directory')) {