-
Bug
-
Resolution: Fixed
-
Minor
-
3.7.3, 3.8, 3.9
-
MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
-
MOODLE_37_STABLE, MOODLE_38_STABLE
-
master_
MDL-67485 -
Cron task should release the scheduled and adhoc task runner lock before throwing `locktimeout` exception.
This will prevent appearing of unnecessary `A lock was created but not released` exceptions and missing `locktimeout` ones in cron logs when task runners can not acquire 'core_cron' lock.