increase timeouts

master
Marek Isalski 7 years ago
parent 2c7b3ddcbe
commit a0acfb866a

@ -134,8 +134,8 @@ function fulcrm_apiv2_http( $method, $object = null, $data = null, $query = null
curl_setopt( $curl, CURLOPT_SSL_VERIFYPEER, true );
curl_setopt( $curl, CURLOPT_TCP_NODELAY, true );
try {
curl_setopt( $curl, CURLOPT_CONNECTTIMEOUT, 2 );
curl_setopt( $curl, CURLOPT_TIMEOUT, 10 );
curl_setopt( $curl, CURLOPT_CONNECTTIMEOUT, 5 );
curl_setopt( $curl, CURLOPT_TIMEOUT, 30 );
} catch ( Exception $e ) {
// do nothing
}

Loading…
Cancel
Save