mirror of
https://github.com/friendica/friendica
synced 2025-05-01 01:44:22 +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
|
@ -62,6 +62,7 @@ class UpdateContacts
|
|||
if (Worker::add(['priority' => PRIORITY_LOW, 'dont_fork' => true], "UpdateContact", $contact['id'])) {
|
||||
++$count;
|
||||
}
|
||||
Worker::coolDown();
|
||||
}
|
||||
DBA::close($contacts);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue