Source file: modules/protect.php
View in GitHubParameters
- $timeout
-
(int) Max time (in seconds) to wait for a response.
Changelog
Since: Jetpack 4.0.4
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' );