Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-67667

Deprecate is_blocking() for adhoc and scheduled tasks in Task API

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: Future Dev
    • Fix Version/s: None
    • Component/s: Policy, Tasks

      Description

      The is_blocking concept in the Task API has never really received much interest. The current and original implementation since 2.7 is buggy so it doesn't actually block correctly at all at scale (see MDL-67597). It's also the root cause of scaling issues (mostly mitigated in MDL-67486)

      So proposing to deprecate this completely.

      Forum to discuss deprecation:

      https://moodle.org/mod/forum/discuss.php?d=395636

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                brendanheywood Brendan Heywood
                Participants:
                Component watchers:
                Adrian Greeve, Andrew Nicols, Eloy Lafuente (stronk7), Juan Leyva, Jun Pataleta, Sander Bangma, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                2 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: