sprout3 icon indicating copy to clipboard operation
sprout3 copied to clipboard

Add a data retention cron

Open andrew-kb opened this issue 6 years ago • 0 comments

This provides a simple, data driven interface to purging old data from tables.

I've moved exception log and worker job clean-up into retention jobs, which in the former case avoids a potentially lengthy operation (delete on MyIASM tables grows increasingly slow the more operations performed sans OPTIMIZE TABLE) occurring during a request.

Added new jobs for rate_limit_hits and login_attempts because we weren't cleaning these up.

andrew-kb avatar Aug 28 '18 04:08 andrew-kb