Skip to content
Snippets Groups Projects
Commit a66885a2 authored by Marcin Kolanko's avatar Marcin Kolanko
Browse files

increased connection timeout

parent 325d37f9
No related branches found
No related tags found
1 merge request!6Devel
Pipeline #5228 canceled with stages
in 1 minute and 33 seconds
...@@ -76,7 +76,7 @@ class CurlClient implements HttpClient { ...@@ -76,7 +76,7 @@ class CurlClient implements HttpClient {
\CURLOPT_CUSTOMREQUEST => $method, \CURLOPT_CUSTOMREQUEST => $method,
\CURLOPT_HTTPHEADER => $this->compileRequestHeaders( $headers ), \CURLOPT_HTTPHEADER => $this->compileRequestHeaders( $headers ),
\CURLOPT_URL => $url, \CURLOPT_URL => $url,
\CURLOPT_CONNECTTIMEOUT => 10, \CURLOPT_CONNECTTIMEOUT => 25,
\CURLOPT_TIMEOUT => $timeOut, \CURLOPT_TIMEOUT => $timeOut,
\CURLOPT_RETURNTRANSFER => \true, \CURLOPT_RETURNTRANSFER => \true,
// Return response as string // Return response as string
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment