From 6357dae69deca11a90a3731600744ed3fec6bcd5 Mon Sep 17 00:00:00 2001 From: Vitalij Mik Date: Thu, 19 Oct 2023 12:45:42 +0200 Subject: [PATCH] MOL-1262: increase timeout to 10 seconds (#642) Co-authored-by: Vitalij Mik --- src/Factory/MollieApiFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Factory/MollieApiFactory.php b/src/Factory/MollieApiFactory.php index 961f3c018..784bc0da6 100644 --- a/src/Factory/MollieApiFactory.php +++ b/src/Factory/MollieApiFactory.php @@ -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);