From ad2674aac69137cf74fc9d70aba8ec30ecdf2e4c Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 17 Aug 2020 06:50:51 +0000 Subject: [PATCH] Once a day is 8 --- src/Protocol/Feed.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Protocol/Feed.php b/src/Protocol/Feed.php index c67dfcdda..0681b863a 100644 --- a/src/Protocol/Feed.php +++ b/src/Protocol/Feed.php @@ -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) {