should compare against abook_updated to make sure we do not always poll broken feeds

This commit is contained in:
Mario
2022-11-26 08:37:45 +00:00
parent ae1fad5de7
commit a050e8c8f5

View File

@@ -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')