fixes docs issue #19072
This commit is contained in:
parent
286971e60c
commit
4f58e58d46
@ -36,8 +36,12 @@ namespace Ordering.BackgroundTasks.Services
|
||||
_logger.LogDebug("GracePeriodManagerService background task is doing background work.");
|
||||
|
||||
CheckConfirmedGracePeriodOrders();
|
||||
|
||||
await Task.Delay(_settings.CheckUpdateTime, stoppingToken);
|
||||
try {
|
||||
await Task.Delay(_settings.CheckUpdateTime, stoppingToken);
|
||||
}
|
||||
catch (TaskCanceledException exception) {
|
||||
_logger.LogCritical(exception, "TaskCanceledException Error", exception.Message);
|
||||
}
|
||||
}
|
||||
|
||||
_logger.LogDebug("GracePeriodManagerService background task is stopping.");
|
||||
|
Loading…
x
Reference in New Issue
Block a user