X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fqueue.php;h=9779a0733d3f65bcb5916fe37beefccacaf86f6d;hb=497fd34026fbaa83b11a64d3a0a6e20f1360e5d6;hp=878c149731d7b1a8c443f052efda6bdbde4d216b;hpb=9ae2b2292fd07a53f46689f778cd4630031912a7;p=friendica.git diff --git a/include/queue.php b/include/queue.php index 878c149731..9779a0733d 100644 --- a/include/queue.php +++ b/include/queue.php @@ -48,7 +48,7 @@ function queue_run(&$argv, &$argc){ logger('queue: start'); // Handling the pubsubhubbub requests - proc_run('php','include/pubsubpublish.php'); + proc_run(PRIORITY_HIGH,'include/pubsubpublish.php'); $interval = ((get_config('system','delivery_interval') === false) ? 2 : intval(get_config('system','delivery_interval'))); @@ -60,7 +60,7 @@ function queue_run(&$argv, &$argc){ if($r) { foreach($r as $rr) { logger('queue: deliverq'); - proc_run('php','include/delivery.php',$rr['cmd'],$rr['item'],$rr['contact']); + proc_run(PRIORITY_HIGH,'include/delivery.php',$rr['cmd'],$rr['item'],$rr['contact']); if($interval) @time_sleep_until(microtime(true) + (float) $interval); }