catalyst / moodle-tool_objectfs

Object file storage system for Moodle
https://moodle.org/plugins/tool_objectfs
88 stars 72 forks source link

Custom batch size is not honoured for checker task #575

Open golenkovm opened 1 year ago

golenkovm commented 1 year ago

It looks like batchsize for checker task that is defined here https://github.com/catalyst/moodle-tool_objectfs/blob/MOODLE_310_STABLE/classes/local/object_manipulator/checker.php#L44 is ignored in get() method which gets candidates for the task https://github.com/catalyst/moodle-tool_objectfs/blob/MOODLE_310_STABLE/classes/local/object_manipulator/candidates/manipulator_candidates_base.php#L61 . Instead, the current config value is used.

PS: This may not bite us anymore as #554 has been fixed, but still an issue from the coding perspective