diff options
| author | JPVenson <github@jpb.email> | 2025-03-24 10:07:52 +0000 |
|---|---|---|
| committer | JPVenson <github@jpb.email> | 2025-03-24 10:07:52 +0000 |
| commit | ea8f1ffb7c9d47d6ccfadd2e0ab9645f69e2e446 (patch) | |
| tree | 5bc852da24f41811411aaef977cd7fca42180e56 /Jellyfin.Server | |
| parent | 3c2d3ac18b6c4c29c340ea8bb3f1dcafe557904b (diff) | |
renamed SqLite to Sqlite
Diffstat (limited to 'Jellyfin.Server')
| -rw-r--r-- | Jellyfin.Server/Program.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Server/Program.cs b/Jellyfin.Server/Program.cs index bb93ef138..d0f2bafb4 100644 --- a/Jellyfin.Server/Program.cs +++ b/Jellyfin.Server/Program.cs @@ -198,7 +198,7 @@ namespace Jellyfin.Server _logger.LogInformation("Running query planner optimizations in the database... This might take a while"); var databaseProvider = appHost.ServiceProvider.GetRequiredService<IJellyfinDatabaseProvider>(); - var shutdownSource = new CancellationTokenSource(); + using var shutdownSource = new CancellationTokenSource(); shutdownSource.CancelAfter((int)TimeSpan.FromSeconds(60).TotalMicroseconds); await databaseProvider.RunShutdownTask(shutdownSource.Token).ConfigureAwait(false); } |
