ActionScheduler_Abstract_QueueRunner::get_allowed_concurrent_batches()publicWC 1.0

Get the number of concurrent batches a runner allows.

Method of the class: ActionScheduler_Abstract_QueueRunner{}

Return

Int.

Usage

$ActionScheduler_Abstract_QueueRunner = new ActionScheduler_Abstract_QueueRunner();
$ActionScheduler_Abstract_QueueRunner->get_allowed_concurrent_batches();

ActionScheduler_Abstract_QueueRunner::get_allowed_concurrent_batches() code WC 8.6.1

public function get_allowed_concurrent_batches() {
	return apply_filters( 'action_scheduler_queue_runner_concurrent_batches', 1 );
}