Created
June 20, 2016 15:12
-
-
Save davebonds/4499fb00289d6cf02a497402f91e40d0 to your computer and use it in GitHub Desktop.
Increase HTTP timeout for Equity API calls
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter( 'http_request_timeout', 'increase_http_timeout'); | |
function increase_http_timeout() { | |
$timeout = 1800; | |
return $timeout; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment