Skip to content

Commit 51a074e

Browse files
author
Navya Suri
authored
Merge pull request #3 from dapi-co/feat/add-timeout
CS-1399: add default timeout of 5 minutes
2 parents 06a0037 + 5e9b1fb commit 51a074e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Products/DapiRequester.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function __construct($appSecret)
1515
$this->API_BASE_URL = "https://api.dapi.com/v2";
1616
$this->DD_HOST = "https://dd.dapi.com";
1717
$this->appSecret = $appSecret;
18-
$this->guzzleClient = new GuzzleHttp\Client();
18+
$this->guzzleClient = new GuzzleHttp\Client(['timeout' => 300]);
1919
}
2020

2121
public function getAppSecret()

0 commit comments

Comments
 (0)