Do not use transient expiration longer than month to support memcached

This commit is contained in:
Alex P 2023-08-24 18:14:23 +03:00
parent 7571a1cea8
commit e16a8c4ff3
No known key found for this signature in database
GPG key ID: 54487A734A204D71
5 changed files with 7 additions and 7 deletions

View file

@ -135,7 +135,7 @@ class BillingAgreementsEndpoint {
);
} finally {
$this->is_request_logging_enabled = true;
set_transient( 'ppcp_reference_transaction_enabled', true, 3 * MONTH_IN_SECONDS );
set_transient( 'ppcp_reference_transaction_enabled', true, MONTH_IN_SECONDS );
}
return true;