From 076475dc1adf326ee643112e77784421db694b13 Mon Sep 17 00:00:00 2001 From: r-richmond Date: Sat, 25 Oct 2025 19:48:01 -0700 Subject: [PATCH 1/3] =?UTF-8?q?=F0=9F=93=9D=20Improve=20clarity=20on=20api?= =?UTF-8?q?=20workers=20recommendation=20in=20docs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- airflow-core/src/airflow/config_templates/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/airflow-core/src/airflow/config_templates/config.yml b/airflow-core/src/airflow/config_templates/config.yml index 131d71c5b57a3..a877a6f2a6a4c 100644 --- a/airflow-core/src/airflow/config_templates/config.yml +++ b/airflow-core/src/airflow/config_templates/config.yml @@ -1422,8 +1422,8 @@ api: workers: description: | Number of workers to run on the API server. Should be roughly equal to the number of - cpu cores available. If you need to scale the API server, consider deploying multiple API - servers instead of increasing the number of workers. + cpu cores available. If you need to scale the API server, strongly consider deploying multiple API + servers instead of increasing the number of workers; See github.com/apache/airflow/issues/52270. version_added: ~ type: integer example: ~ From 96fdb5ce2dc2a0dd5bbbada925e623e23da03889 Mon Sep 17 00:00:00 2001 From: r-richmond Date: Mon, 27 Oct 2025 06:48:42 -0700 Subject: [PATCH 2/3] Update config.yml Co-authored-by: Ash Berlin-Taylor --- airflow-core/src/airflow/config_templates/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airflow-core/src/airflow/config_templates/config.yml b/airflow-core/src/airflow/config_templates/config.yml index a877a6f2a6a4c..1390c91437395 100644 --- a/airflow-core/src/airflow/config_templates/config.yml +++ b/airflow-core/src/airflow/config_templates/config.yml @@ -1423,7 +1423,7 @@ api: description: | Number of workers to run on the API server. Should be roughly equal to the number of cpu cores available. If you need to scale the API server, strongly consider deploying multiple API - servers instead of increasing the number of workers; See github.com/apache/airflow/issues/52270. + servers instead of increasing the number of workers; See https://github.com/apache/airflow/issues/52270. version_added: ~ type: integer example: ~ From 034cb8e990013072654fe9d8bd47334f3157ab9c Mon Sep 17 00:00:00 2001 From: r-richmond Date: Mon, 27 Oct 2025 17:18:47 -0700 Subject: [PATCH 3/3] Update config.yml --- airflow-core/src/airflow/config_templates/config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/airflow-core/src/airflow/config_templates/config.yml b/airflow-core/src/airflow/config_templates/config.yml index 1390c91437395..7cca6bee28595 100644 --- a/airflow-core/src/airflow/config_templates/config.yml +++ b/airflow-core/src/airflow/config_templates/config.yml @@ -1421,9 +1421,9 @@ api: default: "8080" workers: description: | - Number of workers to run on the API server. Should be roughly equal to the number of - cpu cores available. If you need to scale the API server, strongly consider deploying multiple API - servers instead of increasing the number of workers; See https://github.com/apache/airflow/issues/52270. + Number of workers to run on the API server. Should be roughly equal to the number of cpu cores + available. If you need to scale the API server, strongly consider deploying multiple API servers + instead of increasing the number of workers; See https://github.com/apache/airflow/issues/52270. version_added: ~ type: integer example: ~