From 18ccd05b8f515363711d6be009f01951ee0aac56 Mon Sep 17 00:00:00 2001 From: Professional Date: Thu, 20 Mar 2025 22:55:36 +0700 Subject: [PATCH] =?UTF-8?q?=D1=82=D0=B5=D1=81=D1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Program.cs b/Program.cs index cf066b9..bac4256 100644 --- a/Program.cs +++ b/Program.cs @@ -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); } }