From 7baca5f2b891cbc92e48145e633e1417d9bf2de3 Mon Sep 17 00:00:00 2001 From: Shadowghost Date: Tue, 15 Sep 2026 11:13:47 -0400 Subject: Backport pull request #17836 from jellyfin/release-12.z Fix database optimization memory use and pre-migration backup integrity Original-merge: 29ee48a0476910ad0f054bed0ec8baf4a694130e Merged-by: crobibero Backported-by: Cody Robibero --- .../Jellyfin.Database.Implementations/IJellyfinDatabaseProvider.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/Jellyfin.Database/Jellyfin.Database.Implementations') diff --git a/src/Jellyfin.Database/Jellyfin.Database.Implementations/IJellyfinDatabaseProvider.cs b/src/Jellyfin.Database/Jellyfin.Database.Implementations/IJellyfinDatabaseProvider.cs index 77abb45f2a..0a72287ba9 100644 --- a/src/Jellyfin.Database/Jellyfin.Database.Implementations/IJellyfinDatabaseProvider.cs +++ b/src/Jellyfin.Database/Jellyfin.Database.Implementations/IJellyfinDatabaseProvider.cs @@ -45,8 +45,10 @@ public interface IJellyfinDatabaseProvider Task RunScheduledOptimisation(CancellationToken cancellationToken); /// - /// If supported this should perform any actions that are required on stopping the jellyfin server, including the - /// same maintenance as . + /// If supported this should perform any actions that are required on stopping the jellyfin server. This runs + /// against a deadline imposed by the service manager, so unlike + /// it should only do work whose cost does not grow with + /// the size of the database. /// /// The token that will be used to abort the operation. /// A representing the asynchronous operation. -- cgit v1.2.3