mirror of
https://github.com/friendica/friendica
synced 2025-04-27 04:30:11 +00:00
The worker is now working
This commit is contained in:
parent
17b1d45968
commit
d3a6ebfe7e
5 changed files with 49 additions and 36 deletions
|
@ -1338,8 +1338,10 @@ function poco_discover($complete = false) {
|
|||
q("UPDATE `gserver` SET `last_poco_query` = '%s' WHERE `nurl` = '%s'", dbesc(datetime_convert()), dbesc($server["nurl"]));
|
||||
if (!$complete AND (--$no_of_queries == 0))
|
||||
break;
|
||||
} else // If the server hadn't replied correctly, then force a sanity check
|
||||
poco_check_server($server["url"], $server["network"], true);
|
||||
// If the server hadn't replied correctly, then force a sanity check
|
||||
} elseif (!poco_check_server($server["url"], $server["network"], true))
|
||||
q("UPDATE `gserver` SET `last_poco_query` = '%s' WHERE `nurl` = '%s'", dbesc(datetime_convert()), dbesc($server["nurl"]));
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue