From 975bb76291536f3c20c136fd4f15e8721158a612 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 17 Aug 2020 05:26:40 +0000 Subject: [PATCH] Removed check for number of posts --- src/Protocol/Feed.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/Protocol/Feed.php b/src/Protocol/Feed.php index 915d78ac39..9222d36057 100644 --- a/src/Protocol/Feed.php +++ b/src/Protocol/Feed.php @@ -675,11 +675,6 @@ class Feed $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)) { // Calculate the highest "posts per day" value $max = 1;