Closed golenkovm closed 1 year ago
This resolves #584
It looks like cron_trace_time_and_memory(); is not needed. All scheduled tasks have this invoked by default, eg https://github.com/moodle/moodle/blob/master/lib/classes/cron.php#L389
cron_trace_time_and_memory();
Also no other objectfs tasks had this method called so it should be fine to remove it without replacing new \core\cron class which would require a new moodle 4.2 stable branch.
This resolves #584
It looks like
cron_trace_time_and_memory();
is not needed. All scheduled tasks have this invoked by default, eg https://github.com/moodle/moodle/blob/master/lib/classes/cron.php#L389Also no other objectfs tasks had this method called so it should be fine to remove it without replacing new \core\cron class which would require a new moodle 4.2 stable branch.