diff --git a/modules/ppcp-api-client/src/Helper/FailureRegistry.php b/modules/ppcp-api-client/src/Helper/FailureRegistry.php index 0dbeb3b5b..68889b13c 100644 --- a/modules/ppcp-api-client/src/Helper/FailureRegistry.php +++ b/modules/ppcp-api-client/src/Helper/FailureRegistry.php @@ -17,7 +17,7 @@ namespace WooCommerce\PayPalCommerce\ApiClient\Helper; */ class FailureRegistry { const CACHE_KEY = 'failure_registry'; - const CACHE_TIMEOUT = DAY_IN_SECONDS; // If necessary we can increase this. + const CACHE_TIMEOUT = 60 * 60 * 24; // DAY_IN_SECONDS, if necessary we can increase this. const SELLER_STATUS_KEY = 'seller_status'; diff --git a/modules/ppcp-api-client/src/Helper/OrderTransient.php b/modules/ppcp-api-client/src/Helper/OrderTransient.php index 09dac1af9..b6b7a0d99 100644 --- a/modules/ppcp-api-client/src/Helper/OrderTransient.php +++ b/modules/ppcp-api-client/src/Helper/OrderTransient.php @@ -21,7 +21,7 @@ use WooCommerce\PayPalCommerce\ApiClient\Entity\Order; */ class OrderTransient { const CACHE_KEY = 'order_transient'; - const CACHE_TIMEOUT = DAY_IN_SECONDS; // If necessary we can increase this. + const CACHE_TIMEOUT = 60 * 60 * 24; // DAY_IN_SECONDS, if necessary we can increase this. /** * The Cache.