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

This commit is contained in:
Mikhail Trubnikov
2023-10-23 09:56:36 +10:00
parent bff3b15936
commit eebbb09325
10 changed files with 211 additions and 17 deletions

View File

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