diff options
| author | JPVenson <github@jpb.email> | 2024-11-14 21:47:42 +0000 |
|---|---|---|
| committer | JPVenson <github@jpb.email> | 2024-11-14 21:47:42 +0000 |
| commit | d4aca8458146b4bfea78609748739e96eccee0c9 (patch) | |
| tree | 925e1020f34c8c9fe615609a63679f727cc85729 | |
| parent | e8be7ab01192465735793c98bf9bbab9fca9cb8d (diff) | |
Disabled sqlite pooling
| -rw-r--r-- | Jellyfin.Server.Implementations/Extensions/ServiceCollectionExtensions.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Server.Implementations/Extensions/ServiceCollectionExtensions.cs b/Jellyfin.Server.Implementations/Extensions/ServiceCollectionExtensions.cs index ddb393d67..7eee26059 100644 --- a/Jellyfin.Server.Implementations/Extensions/ServiceCollectionExtensions.cs +++ b/Jellyfin.Server.Implementations/Extensions/ServiceCollectionExtensions.cs @@ -21,7 +21,7 @@ public static class ServiceCollectionExtensions serviceCollection.AddPooledDbContextFactory<JellyfinDbContext>((serviceProvider, opt) => { var applicationPaths = serviceProvider.GetRequiredService<IApplicationPaths>(); - opt.UseSqlite($"Filename={Path.Combine(applicationPaths.DataPath, "jellyfin.db")}"); + opt.UseSqlite($"Filename={Path.Combine(applicationPaths.DataPath, "jellyfin.db")};Pooling=false"); }); return serviceCollection; |
