From 348e3841c7ca505c8cadf1f8f799fe24c74e1942 Mon Sep 17 00:00:00 2001 From: Daniel Civit Date: Fri, 17 May 2024 12:28:36 +0200 Subject: [PATCH] PLGWOOS-922: Reduce the amount of API request improving general performance of the plugin (#557) --- src/Services/PaymentMethodService.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Services/PaymentMethodService.php b/src/Services/PaymentMethodService.php index 987844a..5032427 100644 --- a/src/Services/PaymentMethodService.php +++ b/src/Services/PaymentMethodService.php @@ -20,9 +20,9 @@ class PaymentMethodService { /** - * Time in seconds, in which the stored value in cache with information of all gateways will expired. + * Time in seconds, in which the stored value in cache with information about all gateways will expire. */ - public const EXPIRATION_TIME_FOR_PAYMENT_METHODS_API_REQUEST = 3600; + public const EXPIRATION_TIME_FOR_PAYMENT_METHODS_API_REQUEST = 86400; /** * @var PaymentMethodManager