aboutsummaryrefslogtreecommitdiff
path: root/php-client/class.phpipam-api.php
diff options
context:
space:
mode:
authorGravatar Miha Petkovsek <miha.petkovsek@gmail.com> 2016-11-15 19:08:52 +0100
committerGravatar Miha Petkovsek <miha.petkovsek@gmail.com> 2016-11-15 19:08:52 +0100
commitfaf3330c7f7bad0932e05e9f149be4a559575f56 (patch)
treee3daac1929e0fde73c3b77df4fdc399477a2d074 /php-client/class.phpipam-api.php
parentf4251e35211288fb9fc03aff725a334204448008 (diff)
downloadphpipam-api-clients-faf3330c7f7bad0932e05e9f149be4a559575f56.tar.gz
Extended timeout from 4 to 30 seconds
Diffstat (limited to 'php-client/class.phpipam-api.php')
-rw-r--r--php-client/class.phpipam-api.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/php-client/class.phpipam-api.php b/php-client/class.phpipam-api.php
index 79f0e64..08b04e5 100644
--- a/php-client/class.phpipam-api.php
+++ b/php-client/class.phpipam-api.php
@@ -648,7 +648,7 @@ class phpipam_api_client {
CURLOPT_URL => $url,
CURLOPT_HEADER => 0,
CURLOPT_VERBOSE => $this->debug,
- CURLOPT_TIMEOUT => 4,
+ CURLOPT_TIMEOUT => 30,
CURLOPT_HTTPHEADER => array("Content-Type: application/json"),
CURLOPT_USERAGENT => 'phpipam-api php class',
// ssl
@@ -839,7 +839,7 @@ class phpipam_api_client {
CURLOPT_URL => $this->api_url.$this->api_app_id."/user/",
CURLOPT_HEADER => 0,
CURLOPT_VERBOSE => $this->debug,
- CURLOPT_TIMEOUT => 4,
+ CURLOPT_TIMEOUT => 30,
CURLOPT_USERAGENT => 'phpipam-api php class',
// ssl
CURLOPT_SSL_VERIFYHOST => 0,