тест
This commit is contained in:
parent
7d6f7f852a
commit
18ccd05b8f
@ -93,7 +93,7 @@ class Program
|
||||
private static async Task MonitorReportStatus(long reportId, CancellationToken token)
|
||||
{
|
||||
// Ждем 1 час перед первой проверкой
|
||||
await Task.Delay(TimeSpan.FromSeconds(5), token);
|
||||
await Task.Delay(TimeSpan.FromHours(1), token);
|
||||
|
||||
while (!token.IsCancellationRequested)
|
||||
{
|
||||
@ -151,7 +151,7 @@ class Program
|
||||
}
|
||||
|
||||
// Ждем 1 час перед следующей проверкой
|
||||
await Task.Delay(TimeSpan.FromSeconds(5), token);
|
||||
await Task.Delay(TimeSpan.FromHours(1), token);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user