Removed check for number of posts

2022.09-rc
Michael 2020-08-17 05:26:40 +00:00
rodzic df75a24dc7
commit 975bb76291
1 zmienionych plików z 0 dodań i 5 usunięć

Wyświetl plik

@ -675,11 +675,6 @@ class Feed
$priority = 3; // Poll once a day $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)) { if (empty($priority)) {
// Calculate the highest "posts per day" value // Calculate the highest "posts per day" value
$max = 1; $max = 1;