Skip to content

Commit 1f42be1

Browse files
authored
Merge pull request #85977 from marche0133/patch-1
Update distribution-concepts.md
2 parents f90857e + 5223ee7 commit 1f42be1

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

articles/communication-services/concepts/router/distribution-concepts.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,19 @@ When the distribution process locates a suitable Worker who has an open channel
201201

202202
**OfferTTL -** The time-to-live for each offer generated
203203

204-
**Mode -** The **distribution modes** which contain both `minConcurrentOffers` and `maxConcurrentOffers` properties.
204+
**Mode -** The **distribution modes** which contain both `minConcurrentOffers` and `maxConcurrentOffers` properties. Set two integers for these two variables to control the concurrent numbers of active workers that job offer will be distributed. For example:
205+
206+
```csharp
207+
"mode": {
208+
"kind": "longest-idle",
209+
"minConcurrentOffers": 1,
210+
"maxConcurrentOffers": 5,
211+
"bypassSelectors": false
212+
}
213+
}
214+
```
215+
216+
In the above example, minConcurrentOffers and maxConcurrentOffers will distribute at least one offer and up to a maximum of five offers to active Workers who match the requirements of the Job.
205217

206218
> [!Important]
207219
> When a Job offer is generated for a Worker it consumes one of the channel configurations matching the channel ID of the Job. The consumption of this channel means the Worker will not receive another offer unless additional capacity for that channel is available on the Worker. If the Worker declines the offer or the offer expires, the channel is released.

0 commit comments

Comments
 (0)