Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • iknow-api/Program.cs

    r1b20b22 r002cf5f  
    6666// Postgres type by name; PgEnumLabels covers the members whose label is not
    6767// simply the lowercased member name.
    68 builder.Services.AddDbContext<AppDbContext>(options =>
     68// AddDbContextPool reuses the DbContext instances themselves; the connections
     69// underneath them are pooled separately by Npgsql, sized in the connection
     70// string. Both matter here because every physical connection is one more
     71// channel through the SSH tunnel.
     72builder.Services.AddDbContextPool<AppDbContext>(options =>
    6973    options.UseNpgsql(
    7074        builder.Configuration.GetConnectionString("DefaultConnection"),
Note: See TracChangeset for help on using the changeset viewer.