Change Puma defaults to match recommendations from Puma documentation
Fixes #33277: Change Puma default workers to 1.5 * CPU, max threads to 5
The Puma documentation recommends for CRuby based installations to
start with number of CPUs times 1.5 for workers and defaults to a maxium
of 5 threads when using CRuby.
The previous maximum threads of 16 was based on an incorrect reading
of the Puma documentation and is only the default on non-CRuby Ruby.
Refs #33277: Unset foreman_service_puma_workers and foreman_service_puma_threads_max if set to default value
This resets the foreman_server_puma_workers value to pick up the
newest default which is undef. The change from https://github.com/theforeman/puppet-foreman/pull/986
makes the default a dynamically calculated value that should
provide better out of the box experience for users.
This resets the value of foreman_service_puma_threads_max to the new
default value coming from puppet-foreman of 5. The original default of
16 has been determined to likely be too high for Ruby MRI based installations
and resetting to the recommended default by Puma should result in less
wasted resources. Users can opt to increase this value based on
#5 Updated by Eric Helms 2 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset puppet-foreman|533c1f3be8069139d7375841019afeb7c1102830.