Commit 58033988 authored by Hervé Pita's avatar Hervé Pita
Browse files

set Timeout 180

parent a7929616
......@@ -126,7 +126,7 @@ class CurlClient implements LoggerAwareInterface
)
);
$this->setTimeout(120);
$this->setTimeout(180);
}
/**
......@@ -263,7 +263,6 @@ class CurlClient implements LoggerAwareInterface
curl_setopt_array($this->handle, $options);
$response = curl_exec($this->handle);
$this->log(sprintf("Curl request duration: %ss", curl_getinfo($this->handle, CURLINFO_TOTAL_TIME)));
$statusCode = curl_getinfo($this->handle, CURLINFO_HTTP_CODE);
......@@ -362,4 +361,4 @@ class CurlClient implements LoggerAwareInterface
$this->logger->log($level, $message);
}
}
}
\ No newline at end of file
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment