This is an automated email from the ASF dual-hosted git repository.

Miretpl pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new c72265f5817 Document pool=None, -1 and 0 pool slots (#77203)
c72265f5817 is described below

commit c72265f581765dc6ac392b56e19ba0d8ba6c8ad6
Author: raphaelauv <[email protected]>
AuthorDate: Thu Nov 19 22:16:17 2026 +0100

    Document pool=None, -1 and 0 pool slots (#77203)
    
    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

Reply via email to