Skip to content

Commit

Permalink
increase mono requests timeout to 10 sec
Browse files Browse the repository at this point in the history
  • Loading branch information
plakidan committed Oct 25, 2024
1 parent c73cb25 commit a81e2f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
]);
Expand Down

0 comments on commit a81e2f5

Please sign in to comment.