Increase FICTIONEER_QUERY_ID_ARRAY_LIMIT to 1000
I have been told 1000 to 2000 is safe, so let's see...
This commit is contained in:
parent
f3d61e1ad8
commit
658e0f4739
@ -1594,7 +1594,7 @@ define( 'CONSTANT_NAME', value );
|
||||
| FICTIONEER_SHORTCODE_TRANSIENT_EXPIRATION | integer | Expiration duration for shortcode Transients in seconds. Default `300`.
|
||||
| FICTIONEER_STORY_COMMENT_COUNT_TIMEOUT | integer | Timeout between comment count refreshes for stories in _seconds_. Default `900`.
|
||||
| FICTIONEER_REQUESTS_PER_MINUTE | integer | Maximum requests per minute and action if the rate limit is enabled. Default `5`.
|
||||
| FICTIONEER_QUERY_ID_ARRAY_LIMIT | integer | Maximum allowed IDs in 'post__{not}_in' query arguments. Default `100`.
|
||||
| FICTIONEER_QUERY_ID_ARRAY_LIMIT | integer | Maximum allowed IDs in 'post__{not}_in' query arguments. Default `1000`.
|
||||
| FICTIONEER_PATREON_EXPIRATION_TIME | integer | Time until a user’s Patreon data expires in seconds. Default `WEEK_IN_SECONDS`.
|
||||
| FICTIONEER_PARTIAL_CACHE_EXPIRATION_TIME | integer | Time until a cached partial expires in seconds. Default `4 * HOUR_IN_SECONDS`.
|
||||
| FICTIONEER_CARD_CACHE_LIMIT | integer | Number of cards cached by the story card cache feature if enabled. Default `50`.
|
||||
|
@ -275,7 +275,7 @@ if ( ! defined( 'FICTIONEER_REQUESTS_PER_MINUTE' ) ) {
|
||||
// to prevent performance degradation. If exceeded, the whole argument will be
|
||||
// ignored in certain queries, which account for.
|
||||
if ( ! defined( 'FICTIONEER_QUERY_ID_ARRAY_LIMIT' ) ) {
|
||||
define( 'FICTIONEER_QUERY_ID_ARRAY_LIMIT', 100 );
|
||||
define( 'FICTIONEER_QUERY_ID_ARRAY_LIMIT', 1000 );
|
||||
}
|
||||
|
||||
// Integer: Time until a user's Patreon data expires in seconds
|
||||
|
Loading…
x
Reference in New Issue
Block a user