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 scheduled fswa_process_queue run (WP-Cron or Action Scheduler). The REST queue endpoints — /cron/process (System / External Cron) and the admin /dispatcher/process — do not use it; they take a batch_size query parameter instead (default 10, 1–100).
/ Parameters
| Name | In | Type | Req | Description |
|---|---|---|---|---|
| $size | param | int | yes | Number of jobs per batch. Default: `10`. |
/ Returns
int Batch size. Cast to int, not clamped — return at least 1./ Examples
Process more jobs per batch on a high-volume store
add_filter( 'fswa_queue_batch_size', function ( $size ) { return 25; } );
/ Related
Ready Your next automation is
Your next automation is
one sentence away.
$ wp plugin install flowsystems-webhook-actions --activate