From 03aca66c02dd4ce44855a8549215c23ab746e7d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20M=C3=A9ndez=20Hern=C3=A1ndez?= Date: Tue, 9 Dec 2025 11:27:06 +0100 Subject: [PATCH] Make `foreman_puma_threads_max` tunable --- docs/parameters.md | 1 + src/playbooks/deploy/metadata.obsah.yaml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/docs/parameters.md b/docs/parameters.md index b8746b7f..b90f5642 100644 --- a/docs/parameters.md +++ b/docs/parameters.md @@ -50,6 +50,7 @@ There are multiple use cases from the users perspective that dictate what parame | `--foreman-initial-admin-username` | Initial username for the admin user | `--foreman-initial-admin-username` | | `--foreman-initial-admin-password` | Initial password for the admin user | `--foreman-initial-admin-password` | | `--foreman-puma-workers` | Number of workers for Puma | `--foreman-foreman-service-puma-workers` | +| `--foreman-puma-threads-max` | Maximum number of threads spawned by a Puma worker | `--foreman-foreman-service-puma-threads-max` | | `--pulp-worker-count` | Number of pulp workers | `--foreman-proxy-content-pulpcore-worker-count` | #### Certs diff --git a/src/playbooks/deploy/metadata.obsah.yaml b/src/playbooks/deploy/metadata.obsah.yaml index 997aaec9..c20b5c29 100644 --- a/src/playbooks/deploy/metadata.obsah.yaml +++ b/src/playbooks/deploy/metadata.obsah.yaml @@ -9,6 +9,8 @@ variables: help: Initial password for the admin user. foreman_puma_workers: help: Number of workers for Puma. + foreman_puma_threads_max: + help: Maximum number of threads spawned by a Puma worker. Defaults to 5. pulp_worker_count: help: Number of Pulp workers. Defaults to 8 or the number of CPU cores, whichever is smaller.