feat(esppOrderLoader): подключены все сервисы. Docker.

This commit is contained in:
Mikhail Trubnikov
2023-10-20 12:33:49 +10:00
parent 29f14c7fc5
commit af76e45a39
9 changed files with 180 additions and 16 deletions

View File

@@ -11,11 +11,12 @@ namespace PARR.EsppOrderLoaderWorker
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);
//}
}
}
}