From 70aae02d5506432de5fb63984f9ecb3eed4f718a Mon Sep 17 00:00:00 2001 From: Roger Far Date: Mon, 8 Jan 2024 19:52:00 -0700 Subject: [PATCH] Return a fake ID from the symlink downloader when the symlink is done to accomodate a retry mechanism. --- .../RdtClient.Service/Services/Downloaders/SymlinkDownloader.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/RdtClient.Service/Services/Downloaders/SymlinkDownloader.cs b/server/RdtClient.Service/Services/Downloaders/SymlinkDownloader.cs index 22d86d7..3343d70 100644 --- a/server/RdtClient.Service/Services/Downloaders/SymlinkDownloader.cs +++ b/server/RdtClient.Service/Services/Downloaders/SymlinkDownloader.cs @@ -64,7 +64,7 @@ public class SymlinkDownloader : IDownloader _logger.Information($"File {fileName} not found on {Settings.Get.DownloadClient.RcloneMountPath}!"); // Return null and try again next cycle. - return Task.FromResult(null); + return Task.FromResult(Guid.NewGuid().ToString()); } public Task Cancel()