Filter controls maximum timeout in waiting for reponse from Protect servers.
Parameters
- $timeout
int Max time (in seconds) to wait for a response.
Changelog
- Introduced in Jetpack 4.0.4
How to use this hook
Notes
You can use this filter to control the maximum timeout in waiting for a response from Protect servers. Here is how you could use it:
function jeherve_custom_protect_timeout() {
return 180;
}
add_filter( 'jetpack_protect_connect_timeout', 'jeherve_custom_protect_timeout' );