Files
ersatztv/ErsatzTV/Services/RunOnce/EndpointValidatorService.cs
T
Jason DoveandGitHub 9016523757 cleanup some exceptions; add health check (#2495)
* handle artwork timeouts so they aren't reported

* catch some more cancellation errors

* add free space validation on startup

* add downgrade health check

* update dependencies
2025-10-07 09:50:55 -05:00

18 lines
566 B
C#

using ErsatzTV.Core;
namespace ErsatzTV.Services.RunOnce;
public class EndpointValidatorService(ILogger<EndpointValidatorService> logger) : BackgroundService
{
protected override async Task ExecuteAsync(CancellationToken stoppingToken)
{
await Task.Yield();
logger.LogInformation(
"Server will listen on streaming port {StreamingPort}, UI port {UiPort} - try UI at {UI}",
Settings.StreamingPort,
Settings.UiPort,
$"http://localhost:{Settings.UiPort}{SystemEnvironment.BaseUrl}");
}
}