Skip to content

Commit 3c9af23

Browse files
committed
update
1 parent 1ef1236 commit 3c9af23

File tree

2 files changed

+33
-8
lines changed

2 files changed

+33
-8
lines changed

docs/platform/pipelines/pipeline-settings.md

Lines changed: 33 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -99,17 +99,42 @@ You can take fine-grained control of how many pipelines run concurrently in each
9999

100100
You can configure this at the account scope only. Navigate to **Account Settings** -> **Pipeline** -> **Concurrent Active Pipeline Executions**.
101101

102-
**How it works**
102+
#### How to Configure
103+
104+
1. **Concurrent Active Pipeline Executions**
105+
- Enter your account’s **total** concurrency limit (by default, it is `1000`).
106+
- Click **Restore to Default** to reset to the system default.
107+
108+
2. **Pipeline Execution Priority**
109+
- Select the partition you’re defining: **High** or **Low**.
110+
- Click **Restore to Default** to revert.
111+
112+
3. **Concurrency Limit**
113+
- Specify how many slots to reserve for the selected partition (must be less than your total).
114+
- Example: setting `200` reserves 200 slots for High (leaving 800 for Low).
115+
116+
4. **Prioritised Projects**
117+
- Select one or more projects to belong to this partition.
118+
- All unselected projects automatically fall into the opposite partition.
119+
120+
<div align="center">
121+
<DocImage path={require('./static/project-concurrency.png')} width="100%" height="100%" title="Click to view full size image" />
122+
</div>
123+
124+
#### How It Works
125+
103126
- **Define partitions**
104-
- Specify a **High** slot count (e.g. 200 of your 1000 total concurrency)
105-
- The remaining capacity automatically becomes the **Low** partition (800 in this example)
127+
- You choose a **High** slot count (e.g. 200 of your 1000 total capacity).
128+
- The remainder becomes the **Low** partition (800 slots in this example).
129+
106130
- **Assign projects**
107-
- Provide **either** a list of High-Priority projects **or** a list of Low-Priority projects (all others fall into the opposite set)
131+
- Provide **either** a list of High-Priority projects **or** a list of Low-Priority projects—others go to the opposite set.
132+
108133
- **Runtime behavior**
109-
1. If **High** (200) and **Low** (800) are both at capacity, any new **High** execution is queued—but as soon as *any* slot frees in **High** *or* **Low**, your High-Priority pipeline will start (allowing up to 1000 simultaneous High runs over time).
110-
2. A new **Low** execution can only consume slots in the **Low** partition; if those 800 are full, it queues until a Low slot frees.
111-
3. When dequeuing mixed queues:
112-
- **High** pipelines may start on the first available slot in **High** or **Low**.
134+
1. When both **High** (200) and **Low** (800) are full, new **High** executions queue—but start immediately as soon as **either** partition frees a slot (allowing High to spill over up to the full 1000 over time).
135+
2. New **Low** executions consume only the Low partition; if those 800 are full, they queue until a Low slot opens.
136+
3. On dequeuing mixed queues:
137+
- **High** pipelines start on the first available slot in **High** or **Low**.
113138
- **Low** pipelines wait for the next available **Low** slot.
114139

115140
### Pipeline Timeout and Stage Timeout (execution time limits)
89.4 KB
Loading

0 commit comments

Comments
 (0)