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

Make the call of public static void setUserContext(UserContext ctx); method in class org.openmrs.api.context.Context thread-safe

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Could
    • Resolution: Change Request Cancelled
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Complexity:
      Low

      Description

      Make thread-safe because this might be accessed by several thread at the same time.
      Making this thread safe might make this a bottleneck.

      File: /openmrs/api/src/main/java/org/openmrs/api/context/Context.java
      Line: 202

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              makombe Kennedy Makombe
              Reporter:
              nullakilla Anton Alekseiev
              Designated Committer:
              Rafal Korytkowski
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: