Reduced significantly the number of connections to Moodle DB