Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ private Container BuildContainer(IServiceCollection descriptors)
// preferInterpretation will be set to true to significanly improve cold start in consumption mode
// it will be set to false for premium and appservice plans to make sure throughput is not impacted
// there is no throughput drop in consumption with this setting.
var preferInterpretation = SystemEnvironment.Instance.IsWindowsConsumption() ? true : false;
var preferInterpretation = SystemEnvironment.Instance.IsWindowsConsumption() || SystemEnvironment.Instance.IsLinuxConsumption() ? true : false;
var container = new Container(r => rules, preferInterpretation: preferInterpretation);

container.Populate(descriptors);
Expand Down
2 changes: 1 addition & 1 deletion src/WebJobs.Script.WebHost/Standby/WarmUpConstants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public static class WarmUpConstants
{
public const string FunctionName = "WarmUp";
public const string AlternateRoute = "CSharpHttpWarmup";
public const string PreJitFolderName = "PreJit";
public const string PreJitFolderName = "PreJIT";
public const string JitTraceFileName = "coldstart.jittrace";
}
}