Browse Source

Polling feeds is now done with a higher priority.

pull/2929/head
Michael 5 years ago
parent
commit
ccd484643d
  1. 2
      include/cron.php

2
include/cron.php

@ -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']);

Loading…
Cancel
Save