This is an automated email from the ASF dual-hosted git repository.
Miretpl pushed a commit to branch v3-4-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v3-4-test by this push:
new b5d1ccfe158 [v3-4-test] Document pool=None, -1 and 0 pool slots
(#77203) (#77353)
b5d1ccfe158 is described below
commit b5d1ccfe1586b5d52822a28fde9909d3099100d6
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Nov 24 20:12:43 2026 +0000
[v3-4-test] Document pool=None, -1 and 0 pool slots (#77203) (#77353)
(cherry picked from commit c72265f581765dc6ac392b56e19ba0d8ba6c8ad6)
Co-authored-by: raphaelauv <[email protected]>
Co-authored-by: raphaelauv <[email protected]>
Co-authored-by: Przemysław Mirowski
<[email protected]>
---
airflow-core/docs/administration-and-deployment/pools.rst | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/airflow-core/docs/administration-and-deployment/pools.rst
b/airflow-core/docs/administration-and-deployment/pools.rst
index 56a830c33ca..9400ef09873 100644
--- a/airflow-core/docs/administration-and-deployment/pools.rst
+++ b/airflow-core/docs/administration-and-deployment/pools.rst
@@ -39,11 +39,13 @@ Tasks can then be associated with one of the existing pools
by using the ``pool`
Tasks will be scheduled as usual while the slots fill up. The number of slots
occupied by a task can be configured by
-``pool_slots`` (see section below). Once capacity is reached, runnable tasks
get queued and their state will show as such in the UI.
-As slots free up, queued tasks start running based on the
:ref:`concepts:priority-weight` of the task and its
+``pool_slots`` (see section below). Once capacity is reached, runnable tasks
stay in the ``scheduled`` state.
+As slots free up, they get queued based on the :ref:`concepts:priority-weight`
of the task and its
descendants.
-Note that if tasks are not given a pool, they are assigned to a default pool
``default_pool``, which is
+A pool with ``-1`` slots is unlimited, and a pool with ``0`` slots keeps its
tasks in the ``scheduled`` state.
+
+Note that if tasks are not given a pool (or ``pool=None``), they are assigned
to a default pool ``default_pool``, which is
initialized with 128 slots and can be modified through the UI or CLI (but
cannot be removed).
Using multiple pool slots