Skip to content

Commit

Permalink
MOL-1262: increase timeout to 10 seconds (#642)
Browse files Browse the repository at this point in the history
Co-authored-by: Vitalij Mik <[email protected]>
  • Loading branch information
BlackScorp and Vitalij Mik authored Oct 19, 2023
1 parent 159513e commit 6357dae
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 6357dae

Please sign in to comment.