Skip to content

Commit 28b3965

Browse files
Merge pull request #260924 from ecfan/settings
Azure Logic Apps: Add more info about waiting runs limit
2 parents 3976159 + 7cd42b3 commit 28b3965

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

articles/logic-apps/edit-app-settings-host-settings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ The following settings work only for workflows that start with a recurrence-base
175175
| Setting | Default value | Description |
176176
|---------|---------------|-------------|
177177
| `Runtime.Trigger.MaximumRunConcurrency` | `100` runs | Sets the maximum number of concurrent runs that a trigger can start. This value appears in the trigger's concurrency definition. |
178-
| `Runtime.Trigger.MaximumWaitingRuns` | `200` runs | Sets the maximum number of runs that can wait after concurrent runs meet the maximum. This value appears in the trigger's concurrency definition. |
178+
| `Runtime.Trigger.MaximumWaitingRuns` | `200` runs | Sets the maximum number of runs that can wait after concurrent runs meet the maximum. This value appears in the trigger's concurrency definition. For more information, see [Change waiting runs limit](logic-apps-workflow-actions-triggers.md#change-waiting-runs). |
179179

180180
<a name="run-duration-history"></a>
181181

articles/logic-apps/logic-apps-workflow-actions-triggers.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services: logic-apps
55
ms.suite: integration
66
ms.reviewer: estfan, azla
77
ms.topic: reference
8-
ms.date: 08/20/2022
8+
ms.date: 12/12/2023
99
ms.custom:
1010
---
1111

@@ -2532,11 +2532,11 @@ For more information, see [Runtime configuration settings](#runtime-config-optio
25322532

25332533
### Change waiting runs limit
25342534

2535-
By default, logic app workflow instances all run at the same time (concurrently or in parallel). This behavior means that each trigger instance fires before the previously active workflow instance finishes running. However, the number of concurrently running instances has a [default limit](../logic-apps/logic-apps-limits-and-config.md#looping-debatching-limits). When the number of concurrently running workflow instances reaches this limit, any other new instances must wait to run.
2535+
By default, logic app workflow instances all run at the same time (concurrently or in parallel). This behavior means that each trigger instance fires before the previously active workflow instance finishes running. However, a [default limit](logic-apps-limits-and-config.md#looping-debatching-limits) exists on the number of concurrently running workflow instances. When the number of concurrent runs reaches this limit, any other new workflow instances must wait to run. A [default limit](logic-apps-limits-and-config.md#looping-debatching-limits) also exists on the number of waiting workflow instances. When the number of waiting instances reaches this limit, the Azure Logic Apps engine no longer accepts new workflow instances to run. Request and webhook triggers return [**429 - Too many requests** errors](handle-throttling-problems-429-errors.md), and recurring triggers start skipping polling attempts.
25362536

2537-
The number of waiting runs also has a [default limit](../logic-apps/logic-apps-limits-and-config.md#looping-debatching-limits). When the number of waiting runs reaches this limit, the Logic Apps engine no longer accepts new runs. Request and webhook triggers return 429 errors, and recurring triggers start skipping polling attempts.
2537+
You can [change the default limit on trigger concurrency](#change-trigger-concurrency) as well as the default limit on waiting runs. However, this change primarily slows down the trigger to relieve the pressure due to concurrency. For example, if you have polling trigger, and the waiting runs queue is full due to in-progress runs, Azure Logic Apps stops polling. If your workflow uses a request-based trigger, and the waiting runs queue is full, Azure Logic Apps starts returning the 429 error. Some scenarios exist where Azure Logic Apps can't stop the trigger from polling without introducing failures and opts to add such runs to the waiting runs queue anyway without failing the calling runs.
25382538

2539-
Not only can you [change the default limit on trigger concurrency](#change-trigger-concurrency), but you can also change the default limit on waiting runs. In the underlying trigger definition, add the `runtimeConfiguration.concurrency.maximumWaitingRuns` property, which can have a value that ranges from `1` to `100`.
2539+
In the underlying trigger definition, add the `runtimeConfiguration.concurrency.maximumWaitingRuns` property, which can have a value that ranges from `1` to `100`.
25402540

25412541
```json
25422542
"<trigger-name>": {

0 commit comments

Comments
 (0)