diff options
| author | Shadowghost <Ghost_of_Stone@web.de> | 2026-09-05 17:33:47 +0200 |
|---|---|---|
| committer | Shadowghost <Ghost_of_Stone@web.de> | 2026-09-05 17:33:47 +0200 |
| commit | 74ce774effac4d70728e231e6de7c1c5d82a2685 (patch) | |
| tree | 949c4f2e05e7da7c16f7dd6c98dd2b95899ec2f6 /src/Jellyfin.Database/Jellyfin.Database.Implementations | |
| parent | 5465e0c69423506d6836f2a6b8aacfce8cb0501e (diff) | |
Revert to doing after migration and on shutdown
Diffstat (limited to 'src/Jellyfin.Database/Jellyfin.Database.Implementations')
| -rw-r--r-- | src/Jellyfin.Database/Jellyfin.Database.Implementations/IJellyfinDatabaseProvider.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Jellyfin.Database/Jellyfin.Database.Implementations/IJellyfinDatabaseProvider.cs b/src/Jellyfin.Database/Jellyfin.Database.Implementations/IJellyfinDatabaseProvider.cs index a7b2aa493b..77abb45f2a 100644 --- a/src/Jellyfin.Database/Jellyfin.Database.Implementations/IJellyfinDatabaseProvider.cs +++ b/src/Jellyfin.Database/Jellyfin.Database.Implementations/IJellyfinDatabaseProvider.cs @@ -38,14 +38,15 @@ public interface IJellyfinDatabaseProvider /// <summary> /// If supported this should run any periodic maintaince tasks, reclaiming unused space and refreshing the query - /// planner statistics. Also runs on startup once all migrations have been applied. + /// planner statistics. Also used after migrations have modified the database. /// </summary> /// <param name="cancellationToken">The token to abort the operation.</param> /// <returns>A <see cref="Task"/> representing the asynchronous operation.</returns> Task RunScheduledOptimisation(CancellationToken cancellationToken); /// <summary> - /// If supported this should perform any actions that are required on stopping the jellyfin server. + /// If supported this should perform any actions that are required on stopping the jellyfin server, including the + /// same maintenance as <see cref="RunScheduledOptimisation(CancellationToken)"/>. /// </summary> /// <param name="cancellationToken">The token that will be used to abort the operation.</param> /// <returns>A <see cref="Task"/> representing the asynchronous operation.</returns> |
