moodle-tool_trigger
moodle-tool_trigger copied to clipboard
Enhancement: adjustable parameters for maximum tries and maximum processing time
Excellent plugin. One suggestion for enhancement would be to allow adjustment of two parameters which are currently set as constants in the code: maximum number of tries before ignoring a task (MAXTRIES) and maximum processing time for a queue in seconds (MAXTIME). Particularly when integrating HTTP requests into a workflow, it might be useful to add more persistence (e.g., a greater number of tries for each task in the event that some unexpected downtime occurs at an API endpoint) and more control over throughput (e.g., increasing the processing time if a Moodle instance has a continuously high volume of workflow triggers).
This has been done.
Ah actually MAXTIME is still hardocded. Reopening