Once a day is 8

This commit is contained in:
Michael 2020-08-17 06:50:51 +00:00
parent 7370a075f8
commit ad2674aac6

View file

@ -667,12 +667,12 @@ class Feed
if (empty($frequency)) {
Logger::info('Feed had not posted for at least a week, switching to daily polling', ['newest' => $newest_date, 'id' => $contact['id'], 'uid' => $contact['uid'], 'url' => $contact['url']]);
$priority = 3; // Poll once a day
$priority = 8; // Poll once a day
}
if (empty($priority) && (count($creation_dates) == 1)) {
Logger::info('Feed had posted a single time, switching to daily polling', ['newest' => $newest_date, 'id' => $contact['id'], 'uid' => $contact['uid'], 'url' => $contact['url']]);
$priority = 3; // Poll once a day
$priority = 8; // Poll once a day
}
if (empty($priority)) {
@ -715,7 +715,7 @@ class Feed
}
} else {
Logger::info('No posts, switching to daily polling', ['id' => $contact['id'], 'uid' => $contact['uid'], 'url' => $contact['url']]);
$priority = 3; // Poll once a day
$priority = 8; // Poll once a day
}
if ($contact['rating'] != $priority) {