Closed OllieJones closed 1 year ago
On some sites the cache grows without bound.
It's possible these sites have problems with invoking the hourly WP_Cron job needed to handle the situation.
Proposed fix: Immediately before close, with a probability of 1/2000 or so, do the following in a transaction.
This should keep the size under control at a reasonable operational cost without relying critically on WP_Cron.
The WP_Cron job will stay in place.
On some sites the cache grows without bound.
It's possible these sites have problems with invoking the hourly WP_Cron job needed to handle the situation.
Proposed fix: Immediately before close, with a probability of 1/2000 or so, do the following in a transaction.
This should keep the size under control at a reasonable operational cost without relying critically on WP_Cron.
The WP_Cron job will stay in place.