X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fqueue.php;h=cb5fe28ad9bc5e1fee4ab55fdcdb43f0b2c27ed4;hb=143e1a4a836e1fe4d05ab5d1c6008aa0198d2db5;hp=3f6686ec6e1c8f09c2220ca41c78be8695768f43;hpb=32e8f3468d17f9f84b308aa903f7efa1fa22441f;p=friendica.git diff --git a/include/queue.php b/include/queue.php index 3f6686ec6e..cb5fe28ad9 100644 --- a/include/queue.php +++ b/include/queue.php @@ -60,6 +60,10 @@ function queue_run(&$argv, &$argc){ $interval = ((get_config('system','delivery_interval') === false) ? 2 : intval(get_config('system','delivery_interval'))); + // If we are using the worker we don't need a delivery interval + if (get_config("system", "worker")) + $interval = false; + $r = q("select * from deliverq where 1"); if($r) { foreach($r as $rr) {