Improvement check updates

This commit is contained in:
2dust
2024-09-04 15:47:17 +08:00
parent fc43a9a726
commit 488e8aab00
5 changed files with 100 additions and 136 deletions
+1 -1
View File
@@ -176,7 +176,7 @@ namespace ServiceLib.Common
};
using var cts = new CancellationTokenSource();
await downloader.DownloadFileTaskAsync(url, fileName, cts.Token).WaitAsync(TimeSpan.FromSeconds(timeout), cts.Token);
await downloader.DownloadFileTaskAsync(url, fileName, cts.Token);
downloadOpt = null;
}