mirror of
https://github.com/friendica/friendica
synced 2025-04-27 02:30:10 +00:00
Use deferred tasks
This commit is contained in:
parent
d4a536137d
commit
c775833117
4 changed files with 29 additions and 6 deletions
|
@ -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')) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue