mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-23 09:14:45 +03:00
add message for db upgrade
This commit is contained in:
@@ -20,9 +20,11 @@ namespace MediaBrowser.Server.Startup.Common.Migrations
|
||||
{
|
||||
if (_config.Configuration.MigrationVersion < CleanDatabaseScheduledTask.MigrationVersion)
|
||||
{
|
||||
CleanDatabaseScheduledTask.EnableUnavailableMessage = true;
|
||||
|
||||
Task.Run(async () =>
|
||||
{
|
||||
await Task.Delay(2000).ConfigureAwait(false);
|
||||
await Task.Delay(1000).ConfigureAwait(false);
|
||||
|
||||
_taskManager.QueueScheduledTask<CleanDatabaseScheduledTask>();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user