With the new queue we don't need "delivery_batch_count" anymore
This commit is contained in:
parent
12659fc3a1
commit
69daaa61ba
1 changed files with 4 additions and 2 deletions
|
@ -646,8 +646,10 @@ function notifier_run(&$argv, &$argc){
|
||||||
// together into a single process. This will reduce the overall number of processes
|
// together into a single process. This will reduce the overall number of processes
|
||||||
// spawned for each delivery, but they will run longer.
|
// spawned for each delivery, but they will run longer.
|
||||||
|
|
||||||
|
// When using the workerqueue, we don't need this functionality.
|
||||||
|
|
||||||
$deliveries_per_process = intval(get_config('system','delivery_batch_count'));
|
$deliveries_per_process = intval(get_config('system','delivery_batch_count'));
|
||||||
if($deliveries_per_process <= 0)
|
if (($deliveries_per_process <= 0) OR get_config("system", "worker"))
|
||||||
$deliveries_per_process = 1;
|
$deliveries_per_process = 1;
|
||||||
|
|
||||||
$this_batch = array();
|
$this_batch = array();
|
||||||
|
|
Loading…
Reference in a new issue