]> git.mxchange.org Git - friendica.git/commitdiff
Once a day is 8
authorMichael <heluecht@pirati.ca>
Mon, 17 Aug 2020 06:50:51 +0000 (06:50 +0000)
committerMichael <heluecht@pirati.ca>
Mon, 17 Aug 2020 06:50:51 +0000 (06:50 +0000)
src/Protocol/Feed.php

index c67dfcdda971cd2bb8973a06fd4a1839f16b37aa..0681b863a53573f04ff4b381980c8767155b0275 100644 (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) {