catch stragglers in "chunked" delivery mode

This commit is contained in:
friendica 2012-11-27 15:17:41 -08:00
commit 32868dab79
3 changed files with 155 additions and 142 deletions

View file

@ -606,6 +606,10 @@ function notifier_run(&$argv, &$argc){
}
continue;
}
// be sure to pick up any stragglers
if(count($this_batch))
proc_run('php','include/delivery.php',$cmd,$item_id,$this_batch);
$deliver_status = 0;