mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-28 05:02:13 +02:00
Disabled sqlite pooling
This commit is contained in:
parent
e8be7ab011
commit
d4aca84581
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue