Skip to content

Commit

Permalink
PLGWOOS-922: Reduce the amount of API request improving general perfo…
Browse files Browse the repository at this point in the history
…rmance of the plugin (#557)
  • Loading branch information
danielcivit authored May 17, 2024
1 parent 6c4aa65 commit 348e384
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Services/PaymentMethodService.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 348e384

Please sign in to comment.