catalyst / moodle-tool_metadata

Moodle Metadata API
2 stars 0 forks source link

Limit the maximum amount of queued extraction tasks #18

Closed tomdickman closed 4 years ago

tomdickman commented 4 years ago

Currently, if your Moodle instance has a lot of tasks (expecially adhoc tasks), the amount of metadata extractions tasks in the adhoc task table may rise exponentially as the scheduled tasks keep adding new extractions to the queue without checking.

Suggest adding a setting to limit the maximum amount of queued extraction tasks which may be present.