From a81e2f5ab747c5f3e5c7acd28579e55ae42b6ae3 Mon Sep 17 00:00:00 2001 From: Yaroslav P Date: Fri, 25 Oct 2024 17:51:51 +0300 Subject: [PATCH] increase mono requests timeout to 10 sec --- src/Client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Client.php b/src/Client.php index 5bfa389..eff1a9f 100644 --- a/src/Client.php +++ b/src/Client.php @@ -28,7 +28,7 @@ public function __construct(string $token, array $custom_headers = []) $this->httpClient = new \GuzzleHttp\Client([ 'base_uri' => $this->apiEndpoint, - \GuzzleHttp\RequestOptions::TIMEOUT => 5, + \GuzzleHttp\RequestOptions::TIMEOUT => 10, \GuzzleHttp\RequestOptions::HEADERS => $headers, \GuzzleHttp\RequestOptions::HTTP_ERRORS => false, ]);