aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server/CoreAppHost.cs
diff options
context:
space:
mode:
authorPatrick Barron <barronpm@gmail.com>2020-07-13 12:49:20 -0400
committerPatrick Barron <barronpm@gmail.com>2020-07-13 12:49:20 -0400
commitbefd0c7a00d0129d85db95d9ddf8e9d96df79d0a (patch)
tree1fa3379c3b56fa5aa3c6e86e8102ffa9750ed369 /Jellyfin.Server/CoreAppHost.cs
parent8959621da7d9e0696e530448fc028c0089c2609a (diff)
Remove EF Core Proxies
Diffstat (limited to 'Jellyfin.Server/CoreAppHost.cs')
-rw-r--r--Jellyfin.Server/CoreAppHost.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/Jellyfin.Server/CoreAppHost.cs b/Jellyfin.Server/CoreAppHost.cs
index fe07411a6..207eaa98d 100644
--- a/Jellyfin.Server/CoreAppHost.cs
+++ b/Jellyfin.Server/CoreAppHost.cs
@@ -66,8 +66,7 @@ namespace Jellyfin.Server
// TODO: Set up scoping and use AddDbContextPool
serviceCollection.AddDbContext<JellyfinDb>(
options => options
- .UseSqlite($"Filename={Path.Combine(ApplicationPaths.DataPath, "jellyfin.db")}")
- .UseLazyLoadingProxies(),
+ .UseSqlite($"Filename={Path.Combine(ApplicationPaths.DataPath, "jellyfin.db")}"),
ServiceLifetime.Transient);
serviceCollection.AddSingleton<JellyfinDbProvider>();