diff --git a/src/AbstractClient.php b/src/AbstractClient.php index 73123da..1fd7750 100644 --- a/src/AbstractClient.php +++ b/src/AbstractClient.php @@ -113,7 +113,12 @@ function (RequestInterface $request) use ($options) { )); } // finally, create the instance - return new GuzzleClient(['base_uri' => $options['apiUrl'], 'handler' => $handlerStack]); + return new GuzzleClient([ + 'base_uri' => $options['apiUrl'], + 'handler' => $handlerStack, + 'connect_timeout' => 10, + 'timeout' => 120, + ]); } protected function sendRequest(Request $request): array