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