Skip to content

Commit e376cab

Browse files
Merge pull request #291658 from ggailey777/freshness
[Functions] December freshness updates
2 parents 4d9e5a8 + 0d4d475 commit e376cab

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

articles/azure-functions/functions-bindings-warmup.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,11 @@ This article explains how to work with the warmup trigger in Azure Functions. A
1717

1818
The following considerations apply when using a warmup trigger:
1919

20+
* There can be only one warmup trigger function per function app, and it can't be invoked after the instance is already running.
21+
* The name of the function that is the warmup trigger for your app should be `warmup` (case-insensitive).
2022
* The warmup trigger isn't available to apps running on the [Consumption plan](./consumption-plan.md).
2123
* The warmup trigger isn't supported on version 1.x of the Functions runtime.
2224
* Support for the warmup trigger is provided by default in all development environments. You don't have to manually install the package or register the extension.
23-
* There can be only one warmup trigger function per function app, and it can't be invoked after the instance is already running.
2425
* The warmup trigger is only called during scale-out operations, not during restarts or other nonscaling startups. Make sure your logic can load all required dependencies without relying on the warmup trigger. Lazy loading is a good pattern to achieve this goal.
2526
* Dependencies created by warmup trigger should be shared with other functions in your app. To learn more, see [Static clients](manage-connections.md#static-clients).
2627
* If the [built-in authentication](../app-service/overview-authentication-authorization.md) (also known as Easy Auth) is used, [HTTPS Only](../app-service/configure-ssl-bindings.md#enforce-https) should be enabled for the warmup trigger to get invoked.
@@ -215,7 +216,8 @@ Warmup triggers don't require annotations. Just use a name of `warmup` (case-ins
215216

216217
# [Model v4](#tab/nodejs-v4)
217218

218-
There are no properties that need to be set on the `options` object passed to the `app.warmup()` method.
219+
- Your function-trigger must be named `warmupTrigger` (case-insensitive).
220+
- There are no properties that need to be set on the `options` object passed to the `app.warmup()` method.
219221

220222
# [Model v3](#tab/nodejs-v3)
221223

0 commit comments

Comments
 (0)