Skip to content

Commit a2b930b

Browse files
committed
Temporarily disabling periodic host health check
1 parent be3bc4c commit a2b930b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/WebJobs.Script/Host/ScriptHostManager.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,9 @@ public ScriptHostManager(ScriptHostConfiguration config,
9494
_structuredLogWriter = new StructuredLogWriter(EventManager, config.RootLogPath);
9595
_performanceManager = hostPerformanceManager ?? new HostPerformanceManager(settingsManager);
9696

97-
if (config.HostHealthMonitorEnabled && settingsManager.IsAzureEnvironment)
97+
// TEMP : temporarily disabling this until the feature is improved
98+
bool periodicHealthCheckEnabled = false;
99+
if (periodicHealthCheckEnabled && config.HostHealthMonitorEnabled && settingsManager.IsAzureEnvironment)
98100
{
99101
_hostHealthCheckTimer = new Timer(OnHostHealthCheckTimer, null, TimeSpan.Zero, hostHealthCheckInterval);
100102
}

0 commit comments

Comments
 (0)