disable context pooling
This commit is contained in:
@@ -49,7 +49,7 @@ namespace MareSynchronosServer
|
||||
services.AddSingleton<IUserIdProvider, IdBasedUserIdProvider>();
|
||||
services.AddTransient(_ => Configuration);
|
||||
|
||||
services.AddDbContextPool<MareDbContext>(options =>
|
||||
services.AddDbContext<MareDbContext>(options =>
|
||||
{
|
||||
options.UseNpgsql(Configuration.GetConnectionString("DefaultConnection"), builder =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user