Removed check for number of posts

This commit is contained in:
Michael 2020-08-17 05:26:40 +00:00
parent df75a24dc7
commit 975bb76291

View file

@ -675,11 +675,6 @@ class Feed
$priority = 3; // Poll once a day
}
if (empty($priority) && (($newest - $oldest) > count($creation_dates))) {
Logger::info('Less than a post per day, switching to daily polling', ['posts' => count($creation_dates), 'oldest' => $oldest_date, 'newest' => $newest_date, 'id' => $contact['id'], 'uid' => $contact['uid'], 'url' => $contact['url']]);
$priority = 3; // Poll once a day
}
if (empty($priority)) {
// Calculate the highest "posts per day" value
$max = 1;