Huge WSAL metadata table not being cleaned
-
Hi there,
This is more of an “FYI” to the developers than anything else, but maybe there’s a better solution than the one we’ve found:
- We use WSAL on maybe 50+ websites, we install it by default because it’s so useful
- We don’t change any settings, just leave it as default
- Yesterday we noticed wsal_metadata was huge on some sites – 3m+ rows (some of our sites are quite active!)
- Not all sites are affected, but the ones that are show “Next Scheduled Cleanup is in 9 months” (or some other time long in the future)
So it would seem that by default SOME sites aren’t running the clean up.
The fix we’re finding is to delete the plugin (checking “Remove Data on Uninstall”) and reinstall. These steps alone change the message “Next Scheduled Cleanup is in 5 minutes” and everything’s okay.
Maybe the cron isn’t being set up correctly. Is there a better fix than to delete & reinstall? Ideally something we can run from WP-CLI.
Cheers,
Chris
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Huge WSAL metadata table not being cleaned’ is closed to new replies.