mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
Issue 9015: Reducing load of remote systems
This commit is contained in:
parent
6dff5fa562
commit
1f9b365f3b
6 changed files with 34 additions and 32 deletions
|
@ -181,7 +181,7 @@ class Cron
|
|||
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
|
||||
*/
|
||||
private static function pollContacts() {
|
||||
$min_poll_interval = DI::config()->get('system', 'min_poll_interval', 1);
|
||||
$min_poll_interval = DI::config()->get('system', 'min_poll_interval');
|
||||
|
||||
Addon::reload();
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@ class OnePoll
|
|||
return;
|
||||
}
|
||||
|
||||
if (($contact['network'] != Protocol::MAIL) || $force) {
|
||||
if (($contact['network'] != Protocol::MAIL) && $force) {
|
||||
Contact::updateFromProbe($contact_id);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue