Skip to content

Commit

Permalink
Merge pull request #69 from xendit/refactor/guzzle_client
Browse files Browse the repository at this point in the history
refactor(guzzle_client): Default timeout to 60s
  • Loading branch information
stanleynguyen authored Apr 23, 2020
2 parents 93f6647 + ebb2693 commit f3c4e45
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
3 changes: 2 additions & 1 deletion src/HttpClient/GuzzleClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ public function __construct(Guzzle $http = null)
$this->http = new Guzzle(
[
'base_uri' => $baseUri,
'verify' => false
'verify' => false,
'timeout' => 60
]
);
}
Expand Down

0 comments on commit f3c4e45

Please sign in to comment.