Skip to content

Commit

Permalink
Revert "Set EF DbContext pool size to 1024 (instead of default 128) (a…
Browse files Browse the repository at this point in the history
…spnet#1630)"

This reverts commit ae736a9.
  • Loading branch information
roji committed Apr 30, 2021
1 parent e53991b commit a0fb254
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Benchmarks/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public void ConfigureServices(IServiceCollection services)
if (settings.Enlist)
throw new ArgumentException("Enlist=false must be specified for Npgsql");

services.AddDbContextPool<ApplicationDbContext>(options => options.UseNpgsql(appSettings.ConnectionString), 1024);
services.AddDbContextPool<ApplicationDbContext>(options => options.UseNpgsql(appSettings.ConnectionString));

if (Scenarios.Any("Raw") || Scenarios.Any("Dapper"))
{
Expand Down

0 comments on commit a0fb254

Please sign in to comment.