aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server/Program.cs
diff options
context:
space:
mode:
authorShadowghost <Shadowghost@users.noreply.github.com>2026-09-15 11:13:47 -0400
committerCody Robibero <cody@robibe.ro>2026-09-15 11:13:47 -0400
commit7baca5f2b891cbc92e48145e633e1417d9bf2de3 (patch)
tree314611c1a7ca27ad760e0211e17c0bf119edbff1 /Jellyfin.Server/Program.cs
parentfb055aa1fc44b06a7069327fa047cff933f75810 (diff)
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 <cody@robibe.ro> Backported-by: Cody Robibero <cody@robibe.ro>
Diffstat (limited to 'Jellyfin.Server/Program.cs')
-rw-r--r--Jellyfin.Server/Program.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/Jellyfin.Server/Program.cs b/Jellyfin.Server/Program.cs
index 35eaff6532..715fc3d3b9 100644
--- a/Jellyfin.Server/Program.cs
+++ b/Jellyfin.Server/Program.cs
@@ -271,9 +271,8 @@ namespace Jellyfin.Server
// Don't throw additional exception if startup failed.
if (appHost.ServiceProvider is not null)
{
- _logger.LogInformation("Optimizing the database... This might take a while");
+ _logger.LogInformation("Preparing the database for shutdown...");
- // Deliberately untimed: a truncated optimization leaves the statistics incomplete.
var databaseProvider = appHost.ServiceProvider.GetRequiredService<IJellyfinDatabaseProvider>();
await databaseProvider.RunShutdownTask(CancellationToken.None).ConfigureAwait(false);
}