Removed check for number of posts
This commit is contained in:
parent
df75a24dc7
commit
975bb76291
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user