X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fqueue.php;h=9779a0733d3f65bcb5916fe37beefccacaf86f6d;hb=074ae59f49ddaae9d699a1e32537cb71c2c7590e;hp=878c149731d7b1a8c443f052efda6bdbde4d216b;hpb=8ec424325375aa923c7d2d78ac8ddcc352f09cff;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); }