diff --git a/fulcrm_apiv2.module b/fulcrm_apiv2.module index 6f3ad2e..9781908 100644 --- a/fulcrm_apiv2.module +++ b/fulcrm_apiv2.module @@ -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 }