mirror of
https://github.com/friendica/friendica
synced 2025-05-01 13:44:24 +02:00
More cooldown calls for worker processes
This commit is contained in:
parent
3f3e1a2bf4
commit
0fa281247d
8 changed files with 58 additions and 19 deletions
|
@ -81,6 +81,7 @@ class PollContacts
|
|||
Logger::notice("Polling " . $contact["network"] . " " . $contact["id"] . " " . $contact['priority'] . " " . $contact["nick"] . " " . $contact["name"]);
|
||||
|
||||
Worker::add(['priority' => $priority, 'dont_fork' => true, 'force_priority' => true], 'OnePoll', (int)$contact['id']);
|
||||
Worker::coolDown();
|
||||
}
|
||||
DBA::close($contacts);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue