]> git.mxchange.org Git - friendica.git/commitdiff
Polling feeds is now done with a higher priority.
authorMichael <heluecht@pirati.ca>
Thu, 17 Nov 2016 23:06:22 +0000 (23:06 +0000)
committerMichael <heluecht@pirati.ca>
Thu, 17 Nov 2016 23:06:22 +0000 (23:06 +0000)
include/cron.php

index fea5b3961df9f7f63a7d50d2ccc39ad4ba1cd927..c92396dc7a446ce256e66f7e46d5d38d924c7a77 100644 (file)
@@ -325,7 +325,7 @@ function cron_poll_contacts($argc, $argv) {
 
                        logger("Polling ".$contact["network"]." ".$contact["id"]." ".$contact["nick"]." ".$contact["name"]);
 
-                       if ($contact["remote_self"]) {
+                       if (($contact['network'] == NETWORK_FEED) AND ($contact['priority'] <= 3)) {
                                proc_run(PRIORITY_MEDIUM, 'include/onepoll.php', $contact['id']);
                        } else {
                                proc_run(PRIORITY_LOW, 'include/onepoll.php', $contact['id']);