mirror of
https://github.com/friendica/friendica
synced 2025-05-04 00:24:16 +02:00
Merge pull request #8401 from annando/gfollower-epilogue
Reduce the load of "gfollower"
This commit is contained in:
commit
737b04d7e2
10 changed files with 63 additions and 14 deletions
|
@ -23,8 +23,6 @@ namespace Friendica\Worker;
|
|||
|
||||
use Friendica\Core\Logger;
|
||||
use Friendica\Model\Contact;
|
||||
use Friendica\Util\DateTimeFormat;
|
||||
use Friendica\Database\DBA;
|
||||
|
||||
class UpdateContact
|
||||
{
|
||||
|
|
|
@ -40,7 +40,7 @@ class UpdateGContact
|
|||
|
||||
Logger::info('Updated from probe', ['url' => $url, 'force' => $force, 'success' => $success]);
|
||||
|
||||
if ($success && DI::config()->get('system', 'gcontact_discovery')) {
|
||||
if ($success && (DI::config()->get('system', 'gcontact_discovery') == GContact::DISCOVERY_RECURSIVE)) {
|
||||
GContact::discoverFollowers($url);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue