From 986dda5eaa6b879bca600686e26bef63f63c2d8e Mon Sep 17 00:00:00 2001 From: Allamagoosa <36551512+dmatlock171@users.noreply.github.com> Date: Fri, 14 Aug 2026 11:19:47 -0700 Subject: [PATCH] Review #1885: Avalonia parity, and cap concurrency by processor count Chardonnay had parallel downloads with no way to configure them, since the queue logic lives in shared UI code but each UI supplies its own controls. Adds the Auto-scroll toggle and the 'At once' spinner to Chardonnay's queue panel, bound to the same view model properties the WinForms panel uses. Also uses Environment.ProcessorCount as the spinner's ceiling rather than its default: min(ProcessorCount, 10). Downloading is bound by Audible's license throttling rather than local CPU, so core count says nothing about how many concurrent downloads will succeed - it only bounds how many decrypts can usefully run at once. The default stays 3. Spinner bounds are bound rather than hardcoded, so the two UIs cannot drift apart. --- .../Views/ProcessQueueControl.axaml | 29 +++++++++++++++++-- .../Configuration.PersistentSettings.cs | 21 ++++++++++---- .../ProcessQueue/ProcessQueueViewModel.cs | 4 +-- .../ProcessQueue/ProcessQueueControl.cs | 4 +-- 4 files changed, 46 insertions(+), 12 deletions(-) diff --git a/Source/LibationAvalonia/Views/ProcessQueueControl.axaml b/Source/LibationAvalonia/Views/ProcessQueueControl.axaml index 54a474d2..1c5e8711 100644 --- a/Source/LibationAvalonia/Views/ProcessQueueControl.axaml +++ b/Source/LibationAvalonia/Views/ProcessQueueControl.axaml @@ -50,9 +50,32 @@ - + - + + + + + +