magento-2-smtp
magento-2-smtp copied to clipboard
Improve memory efficiency in cleaning up logs
We've stumbled into a case where the module would run out of memory if the emails sent were too many like (400k) in our case. By the time the cleanup cron tried to clean them, it would run out of memory.
I've used collection pagination to reduce the strain of this cleanup cron job.