Browse Source

increase timeouts

master
Marek Isalski 2 years ago
parent
commit
a0acfb866a
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      fulcrm_apiv2.module

+ 2
- 2
fulcrm_apiv2.module View File

@@ -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