Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-1556

Upgrade scheduler to handle long-running tasks

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Should
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: OpenMRS 1.5.0
    • Component/s: Scheduler
    • Labels:
      None

      Description

      The current scheduler is a basic implementation which relies on a java.util.Timer to schedule tasks in a single background thread. This is fine for quick tasks that simply need to be scheduled, but is inadequate when longer-running tasks are scheduled because they block other tasks.

      The scheduler should be upgraded to provide a dedicated thread per task. This could be done with a modified implementation or by adopting the robust Quartz task management system.

        Attachments

        1. 1056.2.patch
          13 kB
        2. 1056.3.patch
          5 kB
        3. 1056.patch
          6 kB
        4. patch-scheduler_timer
          3 kB

          Issue Links

            Activity

              People

              Assignee:
              knoll_frank Frank Knoll [X] (Inactive)
              Reporter:
              akollegger Andreas Kollegger [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: