From bb0f5d81768f6cecf438ea31966c7df7710fac08 Mon Sep 17 00:00:00 2001 From: Stanley Nguyen Date: Thu, 23 Apr 2020 12:00:41 +0800 Subject: [PATCH 1/2] refactor(guzzle_client): Default timeout to 60s --- src/HttpClient/GuzzleClient.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/HttpClient/GuzzleClient.php b/src/HttpClient/GuzzleClient.php index 5e204e5..a771418 100644 --- a/src/HttpClient/GuzzleClient.php +++ b/src/HttpClient/GuzzleClient.php @@ -49,7 +49,8 @@ public function __construct(Guzzle $http = null) $this->http = new Guzzle( [ 'base_uri' => $baseUri, - 'verify' => false + 'verify' => false, + 'timeout' => 60 ] ); } From ebb26932032098b30fd93f609a0715132f2252e0 Mon Sep 17 00:00:00 2001 From: Stanley Nguyen Date: Thu, 23 Apr 2020 12:05:19 +0800 Subject: [PATCH 2/2] build(composer): Bump patch version --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index ec77b63..9150bbc 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "xendit/xendit-php", "description": "PHP clients for Xendit API", - "version": "2.3.0", + "version": "2.3.1", "keywords": ["xendit"], "homepage": "https://github.com/xendit/xendit-php", "type": "library",