Skip to content

Commit aa8e32b

Browse files
Making the warning clearer and adding note
Note for cold start optimization
1 parent 0064777 commit aa8e32b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

articles/azure-functions/functions-reference-java.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,7 @@ az functionapp config appsettings set --name <APP_NAME> \
136136
This example enables headless mode. Replace `<APP_NAME>` with the name of your function app, and `<RESOURCE_GROUP>` with the resource group.
137137

138138
> [!WARNING]
139-
> In the [Consumption plan](functions-scale.md#consumption-plan), you must add the `WEBSITE_USE_PLACEHOLDER` setting with a value of `0`.
140-
This setting does increase the cold start times for Java functions.
139+
> In the Consumption plan, you must also add the WEBSITE_USE_PLACEHOLDER setting with a value of 0 for the customization to work. This setting does increase the cold start times for Java functions.
141140
142141
## Third-party libraries
143142

@@ -408,6 +407,9 @@ public class Function {
408407

409408
```
410409

410+
> [!NOTE]
411+
> The value of AppSetting FUNCTIONS_EXTENSION_VERSION should be ~2 or ~3 for an optimized cold start experience.
412+
411413
## Next steps
412414

413415
For more information about Azure Functions Java development, see the following resources:

0 commit comments

Comments
 (0)