Skip to content

Commit

Permalink
chore: remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ArneD committed Oct 18, 2024
1 parent 4d970a8 commit 0902ce2
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public sealed class HealthCheckRunner : BackgroundService
private readonly HealthCheckService _healthCheckService;
private readonly IHostApplicationLifetime _hostApplicationLifetime;
private readonly ILogger<HealthCheckRunner> _logger;
private readonly TimeSpan _checkInterval = TimeSpan.FromSeconds(5); // Check every 5 minutes
private readonly TimeSpan _checkInterval = TimeSpan.FromSeconds(5);

public HealthCheckRunner(
HealthCheckService healthCheckService,
Expand All @@ -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.");
Expand Down

0 comments on commit 0902ce2

Please sign in to comment.