- Timeout now set at 30 sec like CURL is.

This commit is contained in:
mcndave committed 2024-02-26 11:14:04 -05:00
1 parent 56ca1e2071
commit f035fdf0a2
7 files changed
+9 -9

No files matched your search

+3 -3
View File
@@ -66,11 +66,11 @@ class ApiRepository extends \Ulmus\Repository
$request = $this->callApiRequestCallback($request, $attribute);
$rest = $this->adapter->adapter()->connect();
$transport = $this->adapter->adapter()->connect();
$rest->timeout = $attribute->timeout;
$transport->timeout = $attribute->timeout;
$this->lastResponse = $response = $rest->fromRequest($request);
$this->lastResponse = $response = $transport->fromRequest($request);
$response = $this->callApiResponseCallback($response, $attribute);