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
2727{
2828 public class FunctionsSyncManager : IFunctionsSyncManager , IDisposable
2929 {
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-
3630 private const string HubName = "HubName" ;
3731 private const string TaskHubName = "taskHubName" ;
3832 private const string Connection = "connection" ;
@@ -71,7 +65,7 @@ internal bool ArmCacheEnabled
7165 {
7266 get
7367 {
74- return _environment . GetEnvironmentVariableOrDefault ( EnvironmentSettingNames . AzureWebsiteArmCacheEnabled , AzureWebsiteArmCacheEnabledDefaultValue ) == "1" ;
68+ return _environment . GetEnvironmentVariableOrDefault ( EnvironmentSettingNames . AzureWebsiteArmCacheEnabled , "1" ) == "1" ;
7569 }
7670 }
7771
Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ public async Task TrySyncTriggers_LocalEnvironment_ReturnsFalse()
156156 public void ArmCacheEnabled_VerifyDefault ( )
157157 {
158158 _mockEnvironment . Setup ( p => p . GetEnvironmentVariable ( EnvironmentSettingNames . AzureWebsiteArmCacheEnabled ) ) . Returns ( ( string ) null ) ;
159- Assert . False ( _functionsSyncManager . ArmCacheEnabled ) ;
159+ Assert . True ( _functionsSyncManager . ArmCacheEnabled ) ;
160160 }
161161
162162 [ Theory ]
You can’t perform that action at this time.
0 commit comments