Skip to content

Commit

Permalink
Add a message on memory limit when running remote build (Azure-App-Se…
Browse files Browse the repository at this point in the history
  • Loading branch information
Hazhzeng authored Jul 16, 2020
1 parent b90596d commit e627aab
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Kudu.Core/Helpers/LinuxConsumptionDeploymentHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ public static async Task SetupLinuxConsumptionFunctionAppDeployment(
string packageFolder = env.ArtifactsPath;
string packageFileName = OryxBuildConstants.FunctionAppBuildSettings.LinuxConsumptionArtifactName;

// Indicate the memory limitation on Linux Consumption
context.Logger.Log($"Linux Consumption plan has a 1.5 GB memory limit on a remote build container.");
context.Logger.Log($"To check our service limit, please visit https://docs.microsoft.com/en-us/azure/azure-functions/functions-scale#service-limits");

// Try create a placeholder blob in AzureWebJobsStorage
CloudBlockBlob blob = await GetPlaceholderBlob(context, settings, shouldUpdateWebsiteRunFromPackage);

Expand Down

0 comments on commit e627aab

Please sign in to comment.