Skip to content

Commit 97ebe15

Browse files
Merge pull request #215653 from ggailey777/patch-8
Fixes Premium 60 min guarantee issues
2 parents 957c155 + b5fecf2 commit 97ebe15

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

articles/azure-functions/functions-premium-plan.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Premium plan hosting provides the following benefits to your functions:
1818

1919
* Avoid cold starts with warm instances.
2020
* Virtual network connectivity.
21-
* Unlimited execution duration, with 60 minutes guaranteed.
21+
* Supports [longer runtime durations](#longer-run-duration).
2222
* [Choice of Premium instance sizes](#available-instance-skus).
2323
* More predictable pricing, compared with the Consumption plan.
2424
* High-density app allocation for plans with multiple function apps.
@@ -143,7 +143,13 @@ To learn more about how scaling works, see [Event-driven scaling in Azure Functi
143143

144144
## Longer run duration
145145

146-
Azure Functions in a Consumption plan are limited to 10 minutes for a single execution. In the Premium plan, the run duration defaults to 30 minutes to prevent runaway executions. However, you can [modify the host.json configuration](./functions-host-json.md#functiontimeout) to make the duration unbounded for Premium plan apps. When set to an unbounded duration, your function app is guaranteed to run for at least 60 minutes.
146+
Functions in a Consumption plan are limited to 10 minutes for a single execution. In the Premium plan, the run duration defaults to 30 minutes to prevent runaway executions. However, you can [modify the host.json configuration](./functions-host-json.md#functiontimeout) to make the duration unbounded for Premium plan apps, with the following limitations:
147+
148+
+ Platform upgrades can trigger a managed shutdown and halt the function execution.
149+
+ Platform outages can cause an unhandled shutdown and halt the function execution.
150+
+ There's an idle timer that stops the worker after 60 minutes with no new executions.
151+
+ [Scale-in behavior](event-driven-scaling.md#scale-in-behaviors) can cause worker shutdown after 60 minutes.
152+
+ [Slot swaps](functions-deployment-slots.md) can terminate executions on the source and target slots during the swap.
147153

148154
## Migration
149155

@@ -229,7 +235,7 @@ For example, a JavaScript function app is constrained by the default memory limi
229235

230236
And for plans with more than 4GB memory, ensure the Bitness Platform Setting is set to `64 Bit` under [General Settings](../app-service/configure-common.md#configure-general-settings).
231237

232-
## Region max scale out
238+
## Region max scale-out
233239

234240
Below are the currently supported maximum scale-out values for a single plan in each region and OS configuration.
235241

0 commit comments

Comments
 (0)