- WIP on tasks

This commit is contained in:
Dave Mc Nicoll committed 2025-02-04 08:36:14 -05:00
1 parent 7b5a1bcf97
commit 8de8aafa84
2 files changed
+17 -5

No files matched your search

+2 -2
View File
@@ -4,7 +4,7 @@ namespace Negundo\Client\Transport;
class Curl implements TransportInterface {
public $timeout = 100;
public $timeout = 4;
public $throwErrors = true;
@@ -21,7 +21,7 @@ class Curl implements TransportInterface {
curl_setopt($ch, CURLOPT_HTTPHEADER, $this->headers );
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data, '', '&'));
curl_setopt($ch, CURLOPT_TIMEOUT_MS, $this->timeout * 200);
curl_setopt($ch, CURLOPT_TIMEOUT, $this->timeout);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, $this->verifySsl);
$exec = curl_exec($ch);