Skip to content

Commit

Permalink
Temporarily disabling periodic host health check
Browse files Browse the repository at this point in the history
  • Loading branch information
mathewc committed Nov 10, 2017
1 parent be3bc4c commit a2b930b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/WebJobs.Script/Host/ScriptHostManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ public ScriptHostManager(ScriptHostConfiguration config,
_structuredLogWriter = new StructuredLogWriter(EventManager, config.RootLogPath);
_performanceManager = hostPerformanceManager ?? new HostPerformanceManager(settingsManager);

if (config.HostHealthMonitorEnabled && settingsManager.IsAzureEnvironment)
// TEMP : temporarily disabling this until the feature is improved
bool periodicHealthCheckEnabled = false;
if (periodicHealthCheckEnabled && config.HostHealthMonitorEnabled && settingsManager.IsAzureEnvironment)
{
_hostHealthCheckTimer = new Timer(OnHostHealthCheckTimer, null, TimeSpan.Zero, hostHealthCheckInterval);
}
Expand Down

0 comments on commit a2b930b

Please sign in to comment.