mirror of
https://github.com/friendica/friendica
synced 2025-05-08 08:24:10 +02:00
"CheckServer" added
This commit is contained in:
parent
ef9bdfdff2
commit
b4f690839a
4 changed files with 39 additions and 51 deletions
|
@ -315,7 +315,7 @@ class PortableContact
|
|||
|
||||
if (!DBA::isResult($r)) {
|
||||
Logger::log("Call server check for server ".$server_url, Logger::DEBUG);
|
||||
Worker::add(PRIORITY_LOW, "DiscoverPoCo", "server", $server_url);
|
||||
Worker::add(PRIORITY_LOW, 'CheckServer', $server_url);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -340,7 +340,7 @@ class PortableContact
|
|||
|
||||
if (!empty($servers['pods'])) {
|
||||
foreach ($servers['pods'] as $server) {
|
||||
Worker::add(PRIORITY_LOW, "DiscoverPoCo", "server", "https://" . $server['host']);
|
||||
Worker::add(PRIORITY_LOW, 'CheckServer', 'https://' . $server['host']);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -359,7 +359,7 @@ class PortableContact
|
|||
|
||||
foreach ($servers['instances'] as $server) {
|
||||
$url = (is_null($server['https_score']) ? 'http' : 'https') . '://' . $server['name'];
|
||||
Worker::add(PRIORITY_LOW, "DiscoverPoCo", "server", $url);
|
||||
Worker::add(PRIORITY_LOW, 'CheckServer', $url);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue