MDL-50287 completion: Separated slow task out from cron
authorJosh Willcock <me@joshwillcock.co.uk>
Wed, 20 May 2015 12:08:19 +0000 (13:08 +0100)
committerDan Poltawski <dan@moodle.com>
Thu, 27 Aug 2015 13:40:04 +0000 (14:40 +0100)
commit51e488eaf31307319e34c8b56a85c019016c7871
tree3ea71cd9179d5c83a85b569f6854abe33be5ee6b
parent6d392b302793f193616028dc92c0d98ed5015596
MDL-50287 completion: Separated slow task out from cron

The mark started function for the completions scheduled task can be very
slow and causes performance issues when running. By splitting this into
it's own task it can be managed independantly from the other parts which
update regularly.
completion/cron.php
lang/en/admin.php
lib/classes/task/completion_cron_daily_task.php [moved from lib/classes/task/completion_cron_task.php with 77% similarity]
lib/classes/task/completion_cron_regular_task.php [new file with mode: 0644]
lib/db/tasks.php