chore(agent): remove placeholder Worker.cs

Worker.cs was a template artifact that only logged 'running' every
second. It was never registered in DI. AgentRegistrationService
handles all background work.
This commit is contained in:
Arnaud Dartois committed 2026-07-18 14:12:03 +00:00
1 parent 1c08e0394d
commit f937117f5a
1 file changed
-16
-16
View File
@@ -1,16 +0,0 @@
namespace Heimdall.Agent;
public class Worker(ILogger<Worker> logger) : BackgroundService
{
protected override async Task ExecuteAsync(CancellationToken stoppingToken)
{
while (!stoppingToken.IsCancellationRequested)
{
if (logger.IsEnabled(LogLevel.Information))
{
logger.LogInformation("Worker running at: {time}", DateTimeOffset.Now);
}
await Task.Delay(1000, stoppingToken);
}
}
}