Skip to content

Commit 98ae828

Browse files
authored
Merge pull request #6457 from keboola/devin/1765886953-add-connect-timeout
feat(storage-api-client): add connect_timeout to Guzzle client configuration
2 parents 320425a + ad2ab1d commit 98ae828

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/Keboola/StorageApi/Client.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ private function initClient(array $config)
212212
$this->client = new \GuzzleHttp\Client([
213213
'base_uri' => $this->apiUrl,
214214
'handler' => $handlerStack,
215+
'connect_timeout' => RequestTimeoutMiddleware::REQUEST_TIMEOUT_DEFAULT,
215216
]);
216217
}
217218

0 commit comments

Comments
 (0)