From 0902ce280d2870ec4c60c16900f189e5fa24c78c Mon Sep 17 00:00:00 2001 From: Arne Dumarey Date: Fri, 18 Oct 2024 08:54:00 +0200 Subject: [PATCH] chore: remove comments --- .../HealthCheckRunner.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/BuildingRegistry.Projections.BackOffice/HealthCheckRunner.cs b/src/BuildingRegistry.Projections.BackOffice/HealthCheckRunner.cs index 3591c5b9b..39187f8d6 100644 --- a/src/BuildingRegistry.Projections.BackOffice/HealthCheckRunner.cs +++ b/src/BuildingRegistry.Projections.BackOffice/HealthCheckRunner.cs @@ -12,7 +12,7 @@ public sealed class HealthCheckRunner : BackgroundService private readonly HealthCheckService _healthCheckService; private readonly IHostApplicationLifetime _hostApplicationLifetime; private readonly ILogger _logger; - private readonly TimeSpan _checkInterval = TimeSpan.FromSeconds(5); // Check every 5 minutes + private readonly TimeSpan _checkInterval = TimeSpan.FromSeconds(5); public HealthCheckRunner( HealthCheckService healthCheckService, @@ -32,7 +32,6 @@ protected override async Task ExecuteAsync(CancellationToken stoppingToken) { var report = await _healthCheckService.CheckHealthAsync(stoppingToken); - // Log the health check result if (report.Status == HealthStatus.Healthy) { _logger.LogInformation("Database health check passed.");