diff options
| author | Cody Robibero <cody@robibe.ro> | 2023-05-04 12:33:46 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-04 12:33:46 -0600 |
| commit | aaddc5a33e5f64c7a36eede3c76f561d00b0c7b2 (patch) | |
| tree | a5a75dda01261eced7cdb4baa2e2187dfcb4473b /Emby.Server.Implementations/ApplicationHost.cs | |
| parent | 5e2a1fb4478d5324961a3f822a1057628e75d2a8 (diff) | |
| parent | 8e1f0d53c1efe286628a4119b3c595f219513d23 (diff) | |
Merge pull request #9643 from Bond-009/sqlconnectionpool
Diffstat (limited to 'Emby.Server.Implementations/ApplicationHost.cs')
| -rw-r--r-- | Emby.Server.Implementations/ApplicationHost.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Emby.Server.Implementations/ApplicationHost.cs b/Emby.Server.Implementations/ApplicationHost.cs index 080c44829..7969577bc 100644 --- a/Emby.Server.Implementations/ApplicationHost.cs +++ b/Emby.Server.Implementations/ApplicationHost.cs @@ -627,6 +627,9 @@ namespace Emby.Server.Implementations } } + ((SqliteItemRepository)Resolve<IItemRepository>()).Initialize(); + ((SqliteUserDataRepository)Resolve<IUserDataRepository>()).Initialize(); + var localizationManager = (LocalizationManager)Resolve<ILocalizationManager>(); await localizationManager.LoadAll().ConfigureAwait(false); @@ -634,9 +637,6 @@ namespace Emby.Server.Implementations SetStaticProperties(); - var userDataRepo = (SqliteUserDataRepository)Resolve<IUserDataRepository>(); - ((SqliteItemRepository)Resolve<IItemRepository>()).Initialize(userDataRepo, Resolve<IUserManager>()); - FindParts(); } |
