feat(master): подключены все зависимости, docker

This commit is contained in:
Mikhail Trubnikov
2023-10-23 10:35:42 +10:00
parent eebbb09325
commit 017d2c9d71
10 changed files with 206 additions and 18 deletions

View File

@@ -11,11 +11,13 @@ namespace PARR.MasterWorker
protected override async Task ExecuteAsync(CancellationToken stoppingToken)
{
while (!stoppingToken.IsCancellationRequested)
{
_logger.LogInformation("Worker running at: {time}", DateTimeOffset.Now);
await Task.Delay(1000, stoppingToken);
}
_logger.LogInformation("Worker running at: {time}", DateTimeOffset.Now);
//while (!stoppingToken.IsCancellationRequested)
//{
// _logger.LogInformation("Worker running at: {time}", DateTimeOffset.Now);
// await Task.Delay(1000, stoppingToken);
//}
}
}
}