We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e82277 commit 107b2b4Copy full SHA for 107b2b4
src/Clients/IbericodeVatRatesClient.php
@@ -19,10 +19,10 @@ public function fetch(): array
19
20
$ch = curl_init();
21
curl_setopt($ch, CURLOPT_URL, $url);
22
- curl_setopt($ch, CURLOPT_TIMEOUT, 6);
+ curl_setopt($ch, CURLOPT_TIMEOUT, 10);
23
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
24
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
25
- curl_setopt($ch, CURLOPT_MAXREDIRS, 2);
+ curl_setopt($ch, CURLOPT_MAXREDIRS, 3);
26
$body = (string) curl_exec($ch);
27
$status = (int) curl_getinfo($ch, CURLINFO_HTTP_CODE);
28
curl_close($ch);
0 commit comments