File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed
src/WebJobs.Script.WebHost/Management
test/WebJobs.Script.Tests/Managment Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -27,12 +27,6 @@ namespace Microsoft.Azure.WebJobs.Script.WebHost.Management
27
27
{
28
28
public class FunctionsSyncManager : IFunctionsSyncManager , IDisposable
29
29
{
30
- // Until ANT 82 is fully released, the default value is disabled and we continue
31
- // to return just the trigger data.
32
- // After ANT 82, we will change the default to enabled.
33
- // Note that this app setting is honored by both GeoMaster and Runtime.
34
- public const string AzureWebsiteArmCacheEnabledDefaultValue = "0" ;
35
-
36
30
private const string HubName = "HubName" ;
37
31
private const string TaskHubName = "taskHubName" ;
38
32
private const string Connection = "connection" ;
@@ -71,7 +65,7 @@ internal bool ArmCacheEnabled
71
65
{
72
66
get
73
67
{
74
- return _environment . GetEnvironmentVariableOrDefault ( EnvironmentSettingNames . AzureWebsiteArmCacheEnabled , AzureWebsiteArmCacheEnabledDefaultValue ) == "1" ;
68
+ return _environment . GetEnvironmentVariableOrDefault ( EnvironmentSettingNames . AzureWebsiteArmCacheEnabled , "1" ) == "1" ;
75
69
}
76
70
}
77
71
Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ public async Task TrySyncTriggers_LocalEnvironment_ReturnsFalse()
156
156
public void ArmCacheEnabled_VerifyDefault ( )
157
157
{
158
158
_mockEnvironment . Setup ( p => p . GetEnvironmentVariable ( EnvironmentSettingNames . AzureWebsiteArmCacheEnabled ) ) . Returns ( ( string ) null ) ;
159
- Assert . False ( _functionsSyncManager . ArmCacheEnabled ) ;
159
+ Assert . True ( _functionsSyncManager . ArmCacheEnabled ) ;
160
160
}
161
161
162
162
[ Theory ]
You can’t perform that action at this time.
0 commit comments