aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Daemon/Poller.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-11-26 08:37:45 +0000
committerMario <mario@mariovavti.com>2022-11-26 08:37:45 +0000
commita050e8c8f50dd84ca7259ae1ceb3511a73ba06ba (patch)
tree2d2d79b144bd3327b6ea703981effc537d9de0b0 /Zotlabs/Daemon/Poller.php
parentae1fad5de7aa8b42b9e7e0719502bf914228b1bf (diff)
downloadvolse-hubzilla-a050e8c8f50dd84ca7259ae1ceb3511a73ba06ba.tar.gz
volse-hubzilla-a050e8c8f50dd84ca7259ae1ceb3511a73ba06ba.tar.bz2
volse-hubzilla-a050e8c8f50dd84ca7259ae1ceb3511a73ba06ba.zip
should compare against abook_updated to make sure we do not always poll broken feeds
Diffstat (limited to 'Zotlabs/Daemon/Poller.php')
-rw-r--r--Zotlabs/Daemon/Poller.php4
1 files changed, 3 insertions, 1 deletions
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')