Skip to content

Commit 5223ee7

Browse files
authored
Update distribution-concepts.md
1 parent cb498cb commit 5223ee7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ 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. Set two integers for these two variables to control the concurrent numbers of active workers that job offer will be distributed. Example of setting min and max concurrent offers variables:
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:
205205

206206
```csharp
207207
"mode": {
@@ -213,8 +213,7 @@ When the distribution process locates a suitable Worker who has an open channel
213213
}
214214
```
215215

216-
By setting min to 1, active offers are distributed to minimum 1 active worker if there is; by setting max to 5, offers are distributed to maximum 5 active workers if there are. Moreover, it always try to match to most workers, for example, if there are 5 suitable workers, the offers would be sent to all 5 workers instead of 1.
217-
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.
218217

219218
> [!Important]
220219
> 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)