Renamed functions
This commit is contained in:
parent
33cb241ed3
commit
537da657cc
|
@ -38,11 +38,11 @@ class Cron
|
|||
// Fork the cron jobs in separate parts to avoid problems when one of them is crashing
|
||||
Hook::fork($a->queue['priority'], "cron");
|
||||
|
||||
// run the process to discover global contacts in the background
|
||||
Worker::add(PRIORITY_LOW, "DiscoverPoCo");
|
||||
// run the process to update server directories in the background
|
||||
Worker::add(PRIORITY_LOW, 'UpdateServerDirectories');
|
||||
|
||||
// run the process to update locally stored global contacts in the background
|
||||
Worker::add(PRIORITY_LOW, 'DiscoverContacts');
|
||||
Worker::add(PRIORITY_LOW, 'UpdateGContacts');
|
||||
|
||||
// Expire and remove user entries
|
||||
Worker::add(PRIORITY_MEDIUM, "CronJobs", "expire_and_remove_users");
|
||||
|
@ -73,7 +73,7 @@ class Cron
|
|||
// update nodeinfo data
|
||||
Worker::add(PRIORITY_LOW, "CronJobs", "nodeinfo");
|
||||
|
||||
Worker::add(PRIORITY_LOW, 'UpdateServers');
|
||||
Worker::add(PRIORITY_LOW, 'UpdateGServers');
|
||||
|
||||
Worker::add(PRIORITY_LOW, 'UpdateSuggestions');
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
/**
|
||||
* @file src/Worker/DiscoverContacts.php
|
||||
* @file src/Worker/UpdateGContacts.php
|
||||
*/
|
||||
namespace Friendica\Worker;
|
||||
|
||||
|
@ -14,7 +14,7 @@ use Friendica\Model\GServer;
|
|||
use Friendica\Util\DateTimeFormat;
|
||||
use Friendica\Util\Strings;
|
||||
|
||||
class DiscoverContacts
|
||||
class UpdateGContacts
|
||||
{
|
||||
// Updates gcontact entries
|
||||
public static function execute()
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
/**
|
||||
* @file src/Worker/UpdateServers.php
|
||||
* @file src/Worker/UpdateGServers.php
|
||||
*/
|
||||
namespace Friendica\Worker;
|
||||
|
||||
|
@ -9,7 +9,7 @@ use Friendica\Core\Worker;
|
|||
use Friendica\Database\DBA;
|
||||
use Friendica\Model\GServer;
|
||||
|
||||
class UpdateServers
|
||||
class UpdateGServers
|
||||
{
|
||||
/**
|
||||
* @brief Updates the first 250 servers
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
/**
|
||||
* @file src/Worker/DiscoverPoCo.php
|
||||
* @file src/Worker/UpdateServerDirectories.php
|
||||
*/
|
||||
namespace Friendica\Worker;
|
||||
|
||||
|
@ -9,7 +9,7 @@ use Friendica\Core\Logger;
|
|||
use Friendica\Model\GContact;
|
||||
use Friendica\Protocol\PortableContact;
|
||||
|
||||
class DiscoverPoCo
|
||||
class UpdateServerDirectories
|
||||
{
|
||||
public static function execute()
|
||||
{
|
Loading…
Reference in a new issue