From: Michael Date: Mon, 17 Aug 2020 06:50:51 +0000 (+0000) Subject: Once a day is 8 X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ad2674aac69137cf74fc9d70aba8ec30ecdf2e4c;p=friendica.git Once a day is 8 --- diff --git a/src/Protocol/Feed.php b/src/Protocol/Feed.php index c67dfcdda9..0681b863a5 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) {