Commit Graph

7 Commits

Author SHA1 Message Date
Jeff Stieler ac9f3f4680 Use version number for cache invalidation (https://github.com/woocommerce/woocommerce-admin/pull/2970)
* Refactor report datastore cache key generation.

* Add transient-backed Cache class for Report DataStores.

* Bump reports cache version when data changes.

* Rollover cache version number after a limit and expire report transients every day.

* Use caching strategy like WC core.

Store cache version in value, not in key. Increase expiration to 1 week.
2019-10-01 09:36:05 -07:00
Albert Juhé Lluveras 3406bd85e0 Fix variable name typo (https://github.com/woocommerce/woocommerce-admin/pull/2922) 2019-09-13 18:39:51 +02:00
Jeff Stieler f5b46ec037 Fix cleanup of customer import jobs. 2019-08-21 09:34:05 -07:00
Jeff Stieler 0659049629 Hook up customer updates in the sync class. 2019-08-21 09:00:00 -07:00
Jeff Stieler b3ab0c4eab Add method to schedule customer data updates. 2019-08-20 15:56:54 -07:00
Ron Rennick 16591e5941 use cancel_actions_by_group if action scheduler is >=3.0 2019-08-16 11:35:49 -03:00
Jeff Stieler 953427bea5 Remove defunct filename prefix from remaining files.
Excluding the note classes for third party compatibility.
2019-08-12 15:06:36 -07:00