WP Webhooks / Docs / fswa_queue_batch_size
Filter since v1.0.0

fswa_queue_batch_size

Sets the number of queue jobs processed per batch run.

$

/ Signature

apply_filters( 'fswa_queue_batch_size', $size )

/ When it fires

Fires at the start of each queue processing run.

/ Parameters

NameInTypeReqDescription
$sizeparamintyesNumber of jobs per batch. Default: `10`.

/ Returns

int Batch size. Minimum: 1.

/ Examples

Process more jobs per batch on a high-volume store

add_filter( 'fswa_queue_batch_size', function ( $size ) {
    return 25;
} );

/ Related

Ready

Stop losing webhooks.
Start logging them.

$ wp plugin install flowsystems-webhook-actions --activate