compact ui design refactor with lightfinder redesign

This commit is contained in:
choco
2025-12-26 00:00:13 +01:00
parent ced72ab9eb
commit f792bc1954
7 changed files with 1248 additions and 1315 deletions

View File

@@ -861,9 +861,17 @@ public partial class FileDownloadManager : DisposableMediatorSubscriberBase
{
if (downloadCt.IsCancellationRequested) throw;
var req = await _orchestrator.SendRequestAsync(HttpMethod.Get, LightlessFiles.RequestCheckQueueFullPath(downloadFileTransfer[0].DownloadUri, requestId),
downloadFileTransfer.Select(c => c.Hash).ToList(), downloadCt).ConfigureAwait(false);
req.EnsureSuccessStatusCode();
try
{
var req = await _orchestrator.SendRequestAsync(HttpMethod.Get, LightlessFiles.RequestCheckQueueFullPath(downloadFileTransfer[0].DownloadUri, requestId),
downloadFileTransfer.Select(c => c.Hash).ToList(), downloadCt).ConfigureAwait(false);
req.EnsureSuccessStatusCode();
}
catch (Exception ex) when (!downloadCt.IsCancellationRequested)
{
Logger.LogDebug(ex, "Transient error checking queue status for {requestId}, will retry", requestId);
}
localTimeoutCts.Dispose();
composite.Dispose();
localTimeoutCts = new();