From a050e8c8f50dd84ca7259ae1ceb3511a73ba06ba Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 26 Nov 2022 08:37:45 +0000 Subject: [PATCH] should compare against abook_updated to make sure we do not always poll broken feeds --- Zotlabs/Daemon/Poller.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Zotlabs/Daemon/Poller.php b/Zotlabs/Daemon/Poller.php index 702c940a3..63c498f17 100644 --- a/Zotlabs/Daemon/Poller.php +++ b/Zotlabs/Daemon/Poller.php @@ -101,12 +101,14 @@ class Poller { $x = datetime_convert('UTC', 'UTC', "now - $min minutes"); - if ($c < $x) { + if ($t < $x) { Master::Summon(['Onepoll', $contact['abook_id']]); if ($interval) @time_sleep_until(microtime(true) + (float)$interval); } + continue; + } if ($contact['xchan_network'] !== 'zot6')