mirror of
https://github.com/friendica/friendica
synced 2025-04-29 14:24:22 +02:00
Onepoll hadn't polled anymore / small relocation in zrlinit for better logging
This commit is contained in:
parent
012fe3c11e
commit
35a73b729f
2 changed files with 12 additions and 12 deletions
|
@ -333,7 +333,7 @@ class OnePoll
|
|||
$curlResult = Network::curl($contact['poll'], false, $redirects, ['cookiejar' => $cookiejar]);
|
||||
unlink($cookiejar);
|
||||
|
||||
if (!$curlResult->isTimeout()) {
|
||||
if ($curlResult->isTimeout()) {
|
||||
// set the last-update so we don't keep polling
|
||||
DBA::update('contact', ['last-update' => DateTimeFormat::utcNow()], ['id' => $contact['id']]);
|
||||
Contact::markForArchival($contact);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue