Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-9525

Support dynamic update of number of workers

    XMLWordPrintable

    Details

      Description

      Compute Engine supports the changing of number of Workers processing tasks.
      This value is currently read at startup and can't be modified at runtime.

      This will be implemented as follow:

      • a maximum number of processing workers is defined: 10
      • if an implementation of WorkerCountProvider (see SONAR-9509) is available, then CE will spawn 10 threads to run workers, otherwise, only 1
      • only the number provided by WorkerCountProvider workers will be effectively processing tasks
      • Compute Engine will expose a method on it's internal HTTP server to reload the number provided by the WorkerCountProvider and apply it

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sebastien.lesaint Sebastien Lesaint
              Reporter:
              sebastien.lesaint Sebastien Lesaint
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: