diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-11-02 12:25:01 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-11-02 12:25:01 -0500 |
| commit | fbf8d27637a0b3804cf31665425be372420097a5 (patch) | |
| tree | 423195f44950bdd256f1e0fa7ebb41dc5df9630a /MediaBrowser.Server.Startup.Common/Migrations/DbMigration.cs | |
| parent | a5f2e21ca4feeacfa5afa88d20ae90f51b794593 (diff) | |
update channel db
Diffstat (limited to 'MediaBrowser.Server.Startup.Common/Migrations/DbMigration.cs')
| -rw-r--r-- | MediaBrowser.Server.Startup.Common/Migrations/DbMigration.cs | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/MediaBrowser.Server.Startup.Common/Migrations/DbMigration.cs b/MediaBrowser.Server.Startup.Common/Migrations/DbMigration.cs index de7cba68d3..cdb69025a1 100644 --- a/MediaBrowser.Server.Startup.Common/Migrations/DbMigration.cs +++ b/MediaBrowser.Server.Startup.Common/Migrations/DbMigration.cs @@ -20,15 +20,13 @@ namespace MediaBrowser.Server.Startup.Common.Migrations { if (_config.Configuration.MigrationVersion < CleanDatabaseScheduledTask.MigrationVersion) { - return; - } - - Task.Run(async () => - { - await Task.Delay(2000).ConfigureAwait(false); + Task.Run(async () => + { + await Task.Delay(2000).ConfigureAwait(false); - _taskManager.QueueScheduledTask<CleanDatabaseScheduledTask>(); - }); + _taskManager.QueueScheduledTask<CleanDatabaseScheduledTask>(); + }); + } } } } |
