disable context pooling

This commit is contained in:
Stanley Dimant
2022-08-11 10:50:23 +02:00
parent f29edbd1c3
commit a5fe927cd5
2 changed files with 2 additions and 3 deletions

View File

@@ -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 =>
{