mirror of
https://github.com/friendica/friendica
synced 2025-04-26 15:50:10 +00:00
Split expire.php in several processes / small worker changes
This commit is contained in:
parent
fd36e4e8b0
commit
30b0a035f9
8 changed files with 79 additions and 38 deletions
|
@ -52,7 +52,7 @@ function queue_run(&$argv, &$argc) {
|
|||
if (dbm::is_result($r)) {
|
||||
foreach ($r as $q_item) {
|
||||
logger('Call queue for id '.$q_item['id']);
|
||||
proc_run(array('priority' => PRIORITY_LOW, 'dont_fork' => true), "include/queue.php", $q_item['id']);
|
||||
proc_run(array('priority' => PRIORITY_LOW, 'dont_fork' => true), "include/queue.php", (int)$q_item['id']);
|
||||
}
|
||||
}
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue