Allow to dynamically change Puma configuration
Looking at https://gitlab.com/gitlab-org/gitlab-ce/issues/62876#note_183734170, and connected with our performance testing, I think it would be really helpful if we could change dynamically a number of threads and workers of Puma running in Cluster mode.
The execution flow could be:
- Change number of threads,
- Get
/metricsto read the latest stats to see that change was applied, as this would also force to reboot all workers, - Run tests,
- Gather
/metricsto get memory usage after the test execution.