action_scheduler_queue_runner_batch_size

action_scheduler_queue_runner_batch_size

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

apply_filters('action_scheduler_queue_runner_batch_size') is found 1 times:

  • /packages/action-scheduler/classes/ActionScheduler_QueueRunner.php line 137
    		$this->run_cleanup();
    
    		$this->processed_actions_count = 0;
    		if ( false === $this->has_maximum_concurrent_batches() ) {
    			$batch_size = apply_filters( 'action_scheduler_queue_runner_batch_size', 25 );
    			do {
    				$processed_actions_in_batch     = $this->do_batch( $batch_size, $context );
    				$this->processed_actions_count += $processed_actions_in_batch;
    			} while ( $processed_actions_in_batch > 0 && ! $this->batch_limits_exceeded( $this->processed_actions_count ) ); // keep going until we run out of actions, time, or memory
    		}