crp_is_backlogged
Filter whether CRP should consider the database backlogged.
Type: filter
Since: 4.2.0
Source: includes/class-crp-core-query.php line 723
Parameters
| Type | Name | Description |
|---|---|---|
bool | $is_backlogged | Whether the database is backlogged. |
int | $running | Current Threads_running value. |
int | $threshold | Configured threshold. |
self | $query | Current query instance. |
Usage
add_filter( 'crp_is_backlogged', function($is_backlogged, $running, $threshold, $query) {
// ...
return $is_backlogged;
} );