Handle changed parents

This commit is contained in:
Michael 2022-07-24 13:09:35 +00:00
parent 06280aa5a3
commit 6abb4d40d6
4 changed files with 60 additions and 10 deletions

View file

@ -92,6 +92,9 @@ class Cron
// Remove old pending posts from the queue
Queue::clear();
// Process all unprocessed entries
Queue::processAll();
// Search for new contacts in the directory
if (DI::config()->get('system', 'synchronize_directory')) {
Worker::add(PRIORITY_LOW, 'PullDirectory');
@ -129,9 +132,6 @@ class Cron
Worker::add(PRIORITY_LOW, 'OptimizeTables');
}
// Process all unprocessed entries
Queue::processAll();
// Resubscribe to relay servers
Relay::reSubscribe();