gcgs_gppa_http_request_timeout
Description
Filter the request timeout in seconds for queries to the Google Gviz API. Defaults to 20
seconds.
Usage
add_filter( 'gcgs_gppa_http_request_timeout', 'my_custom_function' );
Parameters
seconds int
The number of seconds to wait before timing out.
args array
The arguments that were used to build the request.
Examples
Increase query timeout
If you notice that queries for dynamically populated data are taking a long time and timing out, it might be helpful to increase the limit.
add_filter( 'gcgs_gppa_http_request_timeout', function( $expiration, $args ) {
return THIRTY_SECONDS;
} );
Since
This filter is available since Gravity Forms Google Sheets 1.0.3.