Skip to content

Commit

Permalink
MOL-1262: increase timeout to 10 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitalij Mik committed Oct 19, 2023
1 parent 159513e commit 6978c07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Factory/MollieApiFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public function buildClient(string $apiKey): MollieApiClient
try {
# in some rare peaks, the Mollie API might take a bit more time.
# so we set it a higher connect timeout, and also a high enough response timeout
$connectTimeout = 5;
$connectTimeout = 10;
$responseTimeout = 10;
$httpClient = new MollieHttpClient($connectTimeout, $responseTimeout);

Expand Down

0 comments on commit 6978c07

Please sign in to comment.