Skip to content

Instantly share code, notes, and snippets.

@davebonds
Created June 20, 2016 15:12
Show Gist options
  • Save davebonds/4499fb00289d6cf02a497402f91e40d0 to your computer and use it in GitHub Desktop.
Save davebonds/4499fb00289d6cf02a497402f91e40d0 to your computer and use it in GitHub Desktop.
Increase HTTP timeout for Equity API calls
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