Don't probe feeds so often
This commit is contained in:
parent
3ffd40c7da
commit
7bdf22a0d5
|
@ -54,7 +54,9 @@ class OnePoll
|
|||
return;
|
||||
}
|
||||
|
||||
if ($contact['network'] != Protocol::MAIL) {
|
||||
// We never probe mail contacts since their probing demands a mail from the contact in the inbox.
|
||||
// We don't probe feed accounts by default since they are polled in a higher frequency, but forced probes are okay.
|
||||
if (!in_array($contact['network'], [Protocol::MAIL, Protocol::FEED]) || ($force && ($contact['network'] == Protocol::FEED))) {
|
||||
$success = Contact::updateFromProbe($contact_id);
|
||||
} else {
|
||||
$success = true;
|
||||
|
|
Loading…
Reference in New Issue
Block a user