wzkb_github_webhook_chunk_size
Process a queued webhook job in bounded, self-rescheduling chunks.
Each invocation handles up to wzkb_github_webhook_chunk_size operations, then
either re-schedules itself for the remainder (persisting progress in the job
option) or, when the queue is drained, logs the aggregate result, rebuilds the
link path map, and deletes the job option. Operations that error are re-queued
up to 3 attempts before being recorded as a permanent failure. The remaining
operations list itself acts as the progress cursor.
Type: filter
Since: 3.1.0
Source: includes/github/class-webhook-handler.php line 362
Parameters
| Type | Name | Description |
|---|---|---|
string | $delivery_id | Delivery identifier used to look up the job option. |
Usage
add_filter( 'wzkb_github_webhook_chunk_size', function($delivery_id) {
// ...
return $delivery_id;
} );