From f8470630be0f3fa7b8052ebd822f23531d30da2f Mon Sep 17 00:00:00 2001 From: Shadowghost Date: Sat, 5 Sep 2026 09:58:04 +0200 Subject: Retire runners that are cancelled before they start --- .../LibraryTaskScheduler/LimitedConcurrencyLibrarySchedulerTests.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/Jellyfin.Controller.Tests/LibraryTaskScheduler') diff --git a/tests/Jellyfin.Controller.Tests/LibraryTaskScheduler/LimitedConcurrencyLibrarySchedulerTests.cs b/tests/Jellyfin.Controller.Tests/LibraryTaskScheduler/LimitedConcurrencyLibrarySchedulerTests.cs index f776e893a0..686d839f4f 100644 --- a/tests/Jellyfin.Controller.Tests/LibraryTaskScheduler/LimitedConcurrencyLibrarySchedulerTests.cs +++ b/tests/Jellyfin.Controller.Tests/LibraryTaskScheduler/LimitedConcurrencyLibrarySchedulerTests.cs @@ -65,7 +65,7 @@ namespace Jellyfin.Controller.Tests.LibraryTaskScheduler /// so a shutdown has to reach them. It does not travel from the linked source back to the one /// the cleanup cancels, which is what made them immortal. /// - /// A representing the asynchronous unit test. + /// A representing the asynchronous unit test. [Fact] public async Task ApplicationStopping_RetiresRunners() { @@ -88,7 +88,7 @@ namespace Jellyfin.Controller.Tests.LibraryTaskScheduler /// The cleanup used to be a one shot: it never released the scheduling slot it took, so /// every runner spawned after the first pass stayed around for the lifetime of the server. /// - /// A representing the asynchronous unit test. + /// A representing the asynchronous unit test. [Fact] public async Task Enqueue_RetiresIdleRunnersAfterEveryOperation() { @@ -110,7 +110,7 @@ namespace Jellyfin.Controller.Tests.LibraryTaskScheduler /// Disposing used to sit out the rest of the cleanup grace period, holding up shutdown for /// up to a minute. /// - /// A representing the asynchronous unit test. + /// A representing the asynchronous unit test. [Fact] public async Task DisposeAsync_DoesNotWaitOutTheGracePeriod() { -- cgit v1.2.3