Hi,
We're having an issue on large Moodle installation due to slow query of read messages, system shows sometime timeout error. Is there a way to remove messages and just keep last 30 days message. The schedule task 'messaging_cleanup_task' only works for notifications not for messages!
Related Tracker: https://tracker.moodle.org/browse/MDL-56349