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